I forgot getCount()

This commit is contained in:
StormyBytes
2021-06-07 21:39:43 +07:00
parent 48e19964f2
commit 54e38af5b5
5 changed files with 9 additions and 9 deletions

View File

@@ -71,8 +71,8 @@ public class AutoWither extends Module {
}
private boolean hasEnoughMaterials() {
if ((InvUtils.find(Items.SOUL_SAND).count < 4 && InvUtils.find(Items.SOUL_SOIL).count < 4) ||
InvUtils.find(Items.WITHER_SKELETON_SKULL).count < 3)
if ((InvUtils.find(Items.SOUL_SAND).getCount() < 4 && InvUtils.find(Items.SOUL_SOIL).getCount() < 4) ||
InvUtils.find(Items.WITHER_SKELETON_SKULL).getCount() < 3)
return false;
return true;

View File

@@ -179,7 +179,7 @@ public class PacketFly extends Module {
}
private boolean checkHitBoxes() {
return !(mc.world.getBlockCollisions(mc.player, mc.player.getBoundingBox().expand(-0.0625,-0.0625,-0.0625)).count() == 0);
return !(mc.world.getBlockCollisions(mc.player, mc.player.getBoundingBox().expand(-0.0625,-0.0625,-0.0625)).getCount()() == 0);
}
private boolean resetCounter(int counter) {