1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Fix backpack dupe (And all similar dupes)

This commit is contained in:
VoidAngel 2017-04-20 11:23:29 -07:00 committed by GitHub
parent e69fa679dc
commit 7c50fd691b

View File

@ -47,6 +47,8 @@ public class AncientAltarListener implements Listener {
@EventHandler(priority=EventPriority.HIGH)
public void onInteract(PlayerInteractEvent e) {
if (e.isCancelled())
return;
if (e.getAction() != Action.RIGHT_CLICK_BLOCK) return;
Block b = e.getClickedBlock();
SlimefunItem item = BlockStorage.check(b);