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