diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/chat/PvpInfo.java b/Client/src/main/java/de/com/baseband/client/feature/modules/chat/PvpInfo.java index 612dcec..c56aef5 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/chat/PvpInfo.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/chat/PvpInfo.java @@ -15,7 +15,7 @@ public class PvpInfo extends Feature { private final ArrayList names = new ArrayList<>(); private final ArrayList newnames = new ArrayList<>(); - private HashMap popList = new HashMap<>(); + private final HashMap popList = new HashMap<>(); @Config("Totem Pops") public boolean totemPops; diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/world/FastBreak.java b/Client/src/main/java/de/com/baseband/client/feature/modules/world/FastBreak.java index d83449a..f5d89c3 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/world/FastBreak.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/world/FastBreak.java @@ -63,6 +63,6 @@ public class FastBreak extends Feature { } private boolean isNotUnbreakable(BlockPos pos) { - return mc.world.getBlockState(pos).getBlock().getBlockHardness(mc.world.getBlockState(pos), Minecraft.getMinecraft().world, pos) != -1; + return mc.world.getBlockState(pos).getBlockHardness(Minecraft.getMinecraft().world, pos) != -1; } }