diff --git a/src/main/java/com/songoda/ultimatestacker/events/InteractListeners.java b/src/main/java/com/songoda/ultimatestacker/events/InteractListeners.java index 6c0930d..2f9695f 100644 --- a/src/main/java/com/songoda/ultimatestacker/events/InteractListeners.java +++ b/src/main/java/com/songoda/ultimatestacker/events/InteractListeners.java @@ -29,7 +29,7 @@ public class InteractListeners implements Listener { Player player = event.getPlayer(); Entity entity = event.getRightClicked(); - ItemStack item = player.getInventory().getItemInMainHand(); + ItemStack item = player.getInventory().getItemInHand(); if (item.getType() != Material.NAME_TAG || !instance.getEntityStackManager().isStacked(entity)) return;