fix broken code as fish use damage values in 1.12.2

This commit is contained in:
Bella 2020-03-20 09:50:02 -04:00
parent 44a1638201
commit fe7fac15c8
No known key found for this signature in database
GPG Key ID: 815562EA23BFE344
1 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ 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.FISH && new ItemStack(Items.FISH).getItemDamage() == 3) return false;
return true;
}