mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-23 18:45:39 +01:00
Fix for incompatible method.
This commit is contained in:
parent
8f7e293ee9
commit
9cc2e3035e
@ -29,7 +29,7 @@ public class InteractListeners implements Listener {
|
|||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
Entity entity = event.getRightClicked();
|
Entity entity = event.getRightClicked();
|
||||||
|
|
||||||
ItemStack item = player.getInventory().getItemInMainHand();
|
ItemStack item = player.getInventory().getItemInHand();
|
||||||
|
|
||||||
if (item.getType() != Material.NAME_TAG
|
if (item.getType() != Material.NAME_TAG
|
||||||
|| !instance.getEntityStackManager().isStacked(entity)) return;
|
|| !instance.getEntityStackManager().isStacked(entity)) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user