Fix for incompatible method.

This commit is contained in:
Brianna O'Keefe 2018-11-29 20:09:59 -05:00
parent 8f7e293ee9
commit 9cc2e3035e

View File

@ -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;