From 5017a8fb38463fa8551740ef442a997a9ad26601 Mon Sep 17 00:00:00 2001 From: sk89q Date: Tue, 19 Oct 2010 20:38:08 -0700 Subject: [PATCH] Fixed permissions issue regarding the wand and super pick axe. --- src/SMWorldEditListener.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SMWorldEditListener.java b/src/SMWorldEditListener.java index 2f63250d5..0f41e4ba3 100644 --- a/src/SMWorldEditListener.java +++ b/src/SMWorldEditListener.java @@ -80,7 +80,8 @@ public class SMWorldEditListener extends PluginListener { @Override public boolean onBlockDestroy(Player modPlayer, Block blockClicked) { if (!canUseCommand(modPlayer, "/editpos1") - && !canUseCommand(modPlayer, "/.")) { return false; } + && !canUseCommand(modPlayer, "//") + && !canUseCommand(modPlayer, "/wprldedit")) { return false; } WorldEdit worldEdit = WorldEdit.getInstance(); WorldEditPlayer player = new SMWorldEditPlayer(modPlayer);