mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed //sel not sending a CUI event.
This commit is contained in:
parent
94ab610da7
commit
0fa675cecc
@ -540,9 +540,11 @@ public class SelectionCommands {
|
||||
String typeName = args.getString(0);
|
||||
if (typeName.equalsIgnoreCase("cuboid")) {
|
||||
session.setRegionSelector(player.getWorld(), new CuboidRegionSelector());
|
||||
session.dispatchCUISelection(player);
|
||||
player.print("Cuboid: left click for point 1, right click for point 2");
|
||||
} else if (typeName.equalsIgnoreCase("poly")) {
|
||||
session.setRegionSelector(player.getWorld(), new Polygonal2DRegionSelector());
|
||||
session.dispatchCUISelection(player);
|
||||
player.print("2D polygon selector: Left/right click to add a point.");
|
||||
} else {
|
||||
player.printError("Only 'cuboid' and 'poly' are accepted.");
|
||||
|
Loading…
Reference in New Issue
Block a user