mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-01-08 12:57:35 +01:00
🏷️ auctionhouse.useauctionchest permission for chest usage
Took 1 minute
This commit is contained in:
parent
ab973ab65a
commit
b40f1068d3
@ -147,6 +147,8 @@ public class PlayerListeners implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!player.hasPermission("auctionhouse.useauctionchest")) return;
|
||||||
|
|
||||||
instance.getGuiManager().showGUI(player, new GUIAuctionHouse(instance.getAuctionPlayerManager().getPlayer(player.getUniqueId())));
|
instance.getGuiManager().showGUI(player, new GUIAuctionHouse(instance.getAuctionPlayerManager().getPlayer(player.getUniqueId())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user