Use website branding and protect players while menus are open
This commit is contained in:
parent
88ddf3fde3
commit
13df172a7e
1 changed files with 67 additions and 19 deletions
|
|
@ -20,7 +20,7 @@ final class OrganisationMenus implements Listener {
|
|||
private final Set<UUID> busy=new HashSet<>();
|
||||
|
||||
|
||||
private static final class Panel implements InventoryHolder {
|
||||
private static final class Panel implements DuneMenuInventory {
|
||||
final UUID owner;final GuiSession gate;final Map<Integer,Runnable> actions=new HashMap<>();final Map<Integer,BedrockForms.Choice> choices=new TreeMap<>();String title;boolean artwork;Inventory inventory;
|
||||
Panel(Player p){owner=p.getUniqueId();gate=new GuiSession(owner);}
|
||||
public Inventory getInventory(){return inventory;}
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff