diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/page/BookletPageAA.java b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/page/BookletPageAA.java index 04d0ba850..806d584d3 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/page/BookletPageAA.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/page/BookletPageAA.java @@ -52,9 +52,8 @@ public class BookletPageAA extends BookletPage{ base = base.replaceAll("", TextFormatting.ITALIC+""); base = base.replaceAll("", TextFormatting.DARK_RED+""+TextFormatting.UNDERLINE); //This is fucking important so go read it now - for(Object o : this.textReplacements.entrySet()){ - Map.Entry e = (Map.Entry)o; - base = base.replaceAll((String)e.getKey(), (String)e.getValue()); + for(Map.Entry entry : this.textReplacements.entrySet()){ + base = base.replaceAll(entry.getKey(), entry.getValue()); } return base; }