diff --git a/src/main/java/net/Indyuce/mmoitems/listener/DisableInteractions.java b/src/main/java/net/Indyuce/mmoitems/listener/DisableInteractions.java index b63f4160..bf73c4d4 100644 --- a/src/main/java/net/Indyuce/mmoitems/listener/DisableInteractions.java +++ b/src/main/java/net/Indyuce/mmoitems/listener/DisableInteractions.java @@ -94,7 +94,7 @@ public class DisableInteractions implements Listener { NBTItem item = NBTItem.get(event.getItem()); if (item.getBoolean("MMOITEMS_DISABLE_INTERACTION") || item.hasTag("MMOITEMS_UNIDENTIFIED_ITEM")) - event.setUseItemInHand(Event.Result.DENY); + event.setCancelled(true); } /**