mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-27 04:25:14 +01:00
Fix Admin Shops
This commit is contained in:
parent
24eb1b1e19
commit
2ff945bbe6
@ -123,7 +123,7 @@ public class PlayerInteract implements Listener {
|
||||
OfflinePlayer owner = Bukkit.getOfflinePlayer(uuid);
|
||||
|
||||
// check if player exists in economy
|
||||
if(owner == null || owner.getName() == null || !VaultListener.getProvider().hasAccount(owner))
|
||||
if(!ChestShopSign.isAdminShop(sign) && (owner == null || owner.getName() == null || !VaultListener.getProvider().hasAccount(owner)))
|
||||
return null;
|
||||
|
||||
Action buy = Properties.REVERSE_BUTTONS ? LEFT_CLICK_BLOCK : RIGHT_CLICK_BLOCK;
|
||||
|
Loading…
Reference in New Issue
Block a user