Use website branding and protect players while menus are open

This commit is contained in:
unimatrixgit 2026-11-28 01:17:47 +01:00
commit 13df172a7e

View file

@ -19,7 +19,7 @@ final class QuestMenus implements Listener {
private final JavaPlugin plugin;private final HouseBridge bridge;private final Consumer<Player> back;
private final Map<UUID,UUID> pending=new HashMap<>();
private final Map<UUID,PolQuestNpc.Role> roleScope=new HashMap<>();
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 List<BedrockForms.Choice> choices=new ArrayList<>();final Inventory inventory;final String title;String description="Your current J.A.R.V.I.S. mission journal";
Panel(Player p,String title){owner=p.getUniqueId();gate=new GuiSession(owner);this.title=title;inventory=Bukkit.createInventory(this,54,Component.text(title,NamedTextColor.GOLD));}
public Inventory getInventory(){return inventory;}