Retain native travel and estate services in replacement GUI

This commit is contained in:
unimatrixgit 2026-11-29 02:34:58 +01:00
commit bb29868eed

View file

@ -22,6 +22,7 @@ import java.util.function.Consumer;
/** Lobby presentation only. Character authority and committed keys remain central. */
public final class DuneGUI extends JavaPlugin implements Listener,CommandExecutor {
public void openOrganisationServices(Player player,String kind,String id){if(!Bukkit.isPrimaryThread()||!player.isOnline())return;organisations.openHomeNpc(player,kind.equals("clan")?"clans":"companies",id);}
public boolean presentSuppliedMenu(Player player,String title,String html,Map<Integer,Runnable> actions,Runnable close){return MCGUIMenus.showDocument(player,title,html,actions,close);}
public void warObjective(Player player,JsonObject target,Runnable capture){if(!Bukkit.isPrimaryThread()||!isEnabled())throw new IllegalStateException("Open objectives on the server thread");organisations.warObjective(player,target,capture);}