From dd15705cd68ae624aad6f9562eb55b107fc9501b Mon Sep 17 00:00:00 2001 From: sk89q Date: Mon, 17 Jan 2011 20:43:30 -0800 Subject: [PATCH] Now prints an error message if permission is not available. --- src/com/sk89q/worldedit/WorldEditController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/sk89q/worldedit/WorldEditController.java b/src/com/sk89q/worldedit/WorldEditController.java index 23a2ef3ef..eb2636129 100644 --- a/src/com/sk89q/worldedit/WorldEditController.java +++ b/src/com/sk89q/worldedit/WorldEditController.java @@ -1933,6 +1933,8 @@ public class WorldEditController { flushBlockBag(player, editSession); } + } else { + player.printError("You don't have permission for this command."); } }