From d153df78fbf8d61f91a446d5bec1963c9f8d815e Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 8 Oct 2020 10:15:16 +0200 Subject: [PATCH] Fixed eating grass consuming it twice --- .../java/com/minelittlepony/unicopia/item/toxin/Toxic.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/item/toxin/Toxic.java b/src/main/java/com/minelittlepony/unicopia/item/toxin/Toxic.java index 8a371d06..61100fbd 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/toxin/Toxic.java +++ b/src/main/java/com/minelittlepony/unicopia/item/toxin/Toxic.java @@ -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; }