mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-29 12:37:53 +01:00
Added double slash on cuboid selection
Because when you select a position and click on the message you need to manually add a other slash
This commit is contained in:
parent
12580b52ae
commit
b3ae049afa
@ -161,7 +161,7 @@ public class CuboidRegionSelector extends com.sk89q.worldedit.regions.CuboidRegi
|
||||
} else {
|
||||
msg = BBC.SELECTOR_POS.m(1, position1, "");
|
||||
}
|
||||
String cmd = Commands.getAlias(SelectionCommands.class, "/pos1") + " " + pos.getBlockX() + "," + pos.getBlockY() + "," + pos.getBlockZ();
|
||||
String cmd = "/" + Commands.getAlias(SelectionCommands.class, "/pos1") + " " + pos.getBlockX() + "," + pos.getBlockY() + "," + pos.getBlockZ();
|
||||
msg.suggestTip(cmd).send(player);
|
||||
|
||||
session.dispatchCUIEvent(player, new SelectionPointEvent(0, pos, getArea()));
|
||||
@ -179,7 +179,7 @@ public class CuboidRegionSelector extends com.sk89q.worldedit.regions.CuboidRegi
|
||||
} else {
|
||||
msg = BBC.SELECTOR_POS.m(2, position2, "");
|
||||
}
|
||||
String cmd = Commands.getAlias(SelectionCommands.class, "/pos2") + " " + pos.getBlockX() + "," + pos.getBlockY() + "," + pos.getBlockZ();
|
||||
String cmd = "/" + Commands.getAlias(SelectionCommands.class, "/pos2") + " " + pos.getBlockX() + "," + pos.getBlockY() + "," + pos.getBlockZ();
|
||||
msg.suggestTip(cmd).send(player);
|
||||
|
||||
session.dispatchCUIEvent(player, new SelectionPointEvent(1, pos, getArea()));
|
||||
|
Loading…
Reference in New Issue
Block a user