I forgot getCount()
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user