/** * Dispatch the initial setup CUI messages. * * @param actor the actor */ public void dispatchCUISetup(Actor actor) { if (selector != null) { dispatchCUISelection(actor); } }
if (args.argsLength() == 0) { session.getRegionSelector(world).clear(); session.dispatchCUISelection(player); player.print("Selection cleared."); return; session.dispatchCUISelection(player);
session.setRegionSelector(world, selector); session.dispatchCUISelection(player);