Fixed //sel selection clearing not being dispatched to CUI.

This commit is contained in:
TomyLobo 2011-12-27 12:23:09 +01:00
parent 7d503fdc5c
commit 370ca96a44

View File

@ -602,6 +602,7 @@ public void select(CommandContext args, LocalSession session, LocalPlayer player
final LocalWorld world = player.getWorld(); final LocalWorld world = player.getWorld();
if (args.argsLength() == 0) { if (args.argsLength() == 0) {
session.getRegionSelector(world).clear(); session.getRegionSelector(world).clear();
session.dispatchCUISelection(player);
return; return;
} }