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:
parent
e69fa679dc
commit
7c50fd691b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user