From 532268eaf79120ebd8670ef47dd9292034ad2815 Mon Sep 17 00:00:00 2001 From: jojo Date: Wed, 30 Dec 2020 15:49:33 +0100 Subject: [PATCH] Fix Water duping with ice --- .../fightsystem/listener/InFightInventoryListener.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/listener/InFightInventoryListener.java b/FightSystem_Main/src/de/steamwar/fightsystem/listener/InFightInventoryListener.java index 01b880d..c4e1ec9 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/listener/InFightInventoryListener.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/listener/InFightInventoryListener.java @@ -99,6 +99,9 @@ public class InFightInventoryListener extends BasicListener { case PISTON_HEAD: type = Material.PISTON; break; + case ICE: + case PACKED_ICE: + return; } ItemStack itemStack; -- 2.39.2