diff --git a/src/WorldEditListener.java b/src/WorldEditListener.java index 1d1bf7fef..b2ea58c38 100644 --- a/src/WorldEditListener.java +++ b/src/WorldEditListener.java @@ -1403,6 +1403,16 @@ public boolean onCommand(Player ply, String[] split) { * @return */ private boolean canUseCommand(Player player, String command) { + // Allow the /worldeditselect permission + if (command.equalsIgnoreCase("//pos1") + || command.equalsIgnoreCase("//pos2") + || command.equalsIgnoreCase("//hpos1") + || command.equalsIgnoreCase("//hpos2")) { + return player.canUseCommand(command) + || player.canUseCommand("/worldeditselect") + || player.canUseCommand("/worldedit"); + } + return player.canUseCommand(command.replace("air", "")) || player.canUseCommand("/worldedit"); }