From ce16f6e04d67830a572e30f1c52a143197959156 Mon Sep 17 00:00:00 2001 From: sk89q Date: Tue, 19 Oct 2010 20:41:33 -0700 Subject: [PATCH] Fixed /worldedit misspelling in SMWorldListener.onBlockDestroy. --- src/SMWorldEditListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMWorldEditListener.java b/src/SMWorldEditListener.java index 0f41e4ba3..52c11f7bc 100644 --- a/src/SMWorldEditListener.java +++ b/src/SMWorldEditListener.java @@ -81,7 +81,7 @@ public class SMWorldEditListener extends PluginListener { public boolean onBlockDestroy(Player modPlayer, Block blockClicked) { if (!canUseCommand(modPlayer, "/editpos1") && !canUseCommand(modPlayer, "//") - && !canUseCommand(modPlayer, "/wprldedit")) { return false; } + && !canUseCommand(modPlayer, "/worldedit")) { return false; } WorldEdit worldEdit = WorldEdit.getInstance(); WorldEditPlayer player = new SMWorldEditPlayer(modPlayer);