Mask gameplay overlays and page native Decisions

This commit is contained in:
unimatrixgit 2026-11-28 09:07:50 +01:00
commit 5d80713483

View file

@ -308,6 +308,7 @@ final class QuestMenus implements Listener {
Map<Integer,Runnable> visibleActions=new HashMap<>();
for(var card:cards)if(card.actionable())visibleActions.put(card.slot(),screen.actions.get(card.slot()));
var callbacks=Map.copyOf(visibleActions);
player.closeInventory();
var world=player.getWorld().getUID();
try{
if(!transport.open(player,document,slot->{
@ -321,7 +322,6 @@ final class QuestMenus implements Listener {
plugin.getLogger().warning("Development Decisions view unavailable: "+failure.getClass().getSimpleName());
return false;
}
player.closeInventory();
screen.gate.markFormVisible(world);
return true;
}