Fixed eating grass consuming it twice

This commit is contained in:
Sollace 2020-10-08 10:15:16 +02:00
parent bb9d23d686
commit d153df78fb

View file

@ -48,10 +48,6 @@ public class Toxic {
toxin.afflict((PlayerEntity)entity, t, stack);
}
if (!(entity instanceof PlayerEntity) || !((PlayerEntity)entity).abilities.creativeMode) {
stack.decrement(1);
}
return stack;
}