mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Fixed eating grass consuming it twice
This commit is contained in:
parent
bb9d23d686
commit
d153df78fb
1 changed files with 0 additions and 4 deletions
|
@ -48,10 +48,6 @@ public class Toxic {
|
||||||
toxin.afflict((PlayerEntity)entity, t, stack);
|
toxin.afflict((PlayerEntity)entity, t, stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(entity instanceof PlayerEntity) || !((PlayerEntity)entity).abilities.creativeMode) {
|
|
||||||
stack.decrement(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
return stack;
|
return stack;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue