fix warnings
Some checks failed
/ Build BaseBand DSM & Broadway (push) Failing after 40s

This commit is contained in:
Daniella / Tove 2024-06-15 12:07:23 +02:00
parent 523fe78c25
commit 5f181dd9fc
Signed by: TudbuT
GPG key ID: B3CF345217F202D3
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ public class PvpInfo extends Feature {
private final ArrayList<String> names = new ArrayList<>(); private final ArrayList<String> names = new ArrayList<>();
private final ArrayList<String> newnames = new ArrayList<>(); private final ArrayList<String> newnames = new ArrayList<>();
private HashMap<String, Integer> popList = new HashMap<>(); private final HashMap<String, Integer> popList = new HashMap<>();
@Config("Totem Pops") @Config("Totem Pops")
public boolean totemPops; public boolean totemPops;

View file

@ -63,6 +63,6 @@ public class FastBreak extends Feature {
} }
private boolean isNotUnbreakable(BlockPos pos) { 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;
} }
} }