mirror of
https://github.com/EpicEricEE/ShopChest.git
synced 2024-11-25 12:06:16 +01: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