🏷️ auctionhouse.useauctionchest permission for chest usage

Took 1 minute
This commit is contained in:
Kiran Hart 2023-03-27 18:20:28 -04:00
parent ab973ab65a
commit b40f1068d3
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3

View File

@ -147,6 +147,8 @@ public class PlayerListeners implements Listener {
return;
}
if (!player.hasPermission("auctionhouse.useauctionchest")) return;
instance.getGuiManager().showGUI(player, new GUIAuctionHouse(instance.getAuctionPlayerManager().getPlayer(player.getUniqueId())));
}
}