mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-12-23 01:21:47 +00:00
parent
86322a1198
commit
f516b78776
@ -397,9 +397,9 @@ public class ShopInteractListener implements Listener {
|
||||
} else {
|
||||
Shop shop = shopUtils.getShop(b.getLocation());
|
||||
|
||||
boolean confirmed = needsConfirmation.containsKey(p.getUniqueId()) && needsConfirmation.get(p.getUniqueId()).contains(shop.getID());
|
||||
|
||||
if (shop != null) {
|
||||
boolean confirmed = needsConfirmation.containsKey(p.getUniqueId()) && needsConfirmation.get(p.getUniqueId()).contains(shop.getID());
|
||||
|
||||
if (e.getAction() == Action.LEFT_CLICK_BLOCK && p.isSneaking() && Utils.hasAxeInHand(p)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user