From f4ba28268a71caf184da026da0eaf68364859d68 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Fri, 6 Jan 2012 17:39:20 +0100 Subject: [PATCH] Possibly fixed conflicts with other plugins since dynamic command registration was added. --- .../com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java index a020858f8..e4b7b2e8f 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java @@ -90,7 +90,7 @@ public class WorldEditPlayerListener extends PlayerListener { if (split.length > 0) { split = plugin.getWorldEdit().commandDetection(split); - split[0] += "/"; + split[0] = "/" + split[0]; } event.setMessage(StringUtil.joinString(split, " "));