forked from RepoMirrors/kami-blue
fix broken code as fish use damage values in 1.12.2
This commit is contained in:
parent
44a1638201
commit
fe7fac15c8
|
@ -28,9 +28,9 @@ public class AutoEat extends Module {
|
|||
}
|
||||
|
||||
private boolean passItemCheck(Item item) {
|
||||
if (item == Items.ROTTEN_FLESH) return false;
|
||||
if (item == Items.SPIDER_EYE) return false;
|
||||
if (item == Items.PUFFER_FISH) return false;
|
||||
if (item == Items.ROTTEN_FLESH) return false;
|
||||
if (item == Items.SPIDER_EYE) return false;
|
||||
if (item == Items.FISH && new ItemStack(Items.FISH).getItemDamage() == 3) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue