summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/NetServerHandler.java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-02-01 18:13:12 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-02-01 18:13:12 +0000
commit21b8c16886ad4b4fd5cfeaa5a03bc15c8af95077 (patch)
treef18a97c35c1a0bf72b3243b3ea65746f5fcbd293 /src/main/java/net/minecraft/server/NetServerHandler.java
parent657913faeb2843d54002a3a4b8237d205ad8cad5 (diff)
downloadcraftbukkit-21b8c16886ad4b4fd5cfeaa5a03bc15c8af95077.tar
craftbukkit-21b8c16886ad4b4fd5cfeaa5a03bc15c8af95077.tar.gz
craftbukkit-21b8c16886ad4b4fd5cfeaa5a03bc15c8af95077.tar.lz
craftbukkit-21b8c16886ad4b4fd5cfeaa5a03bc15c8af95077.tar.xz
craftbukkit-21b8c16886ad4b4fd5cfeaa5a03bc15c8af95077.zip
Commands can be sent from the console (WIP, needs improvements)
Diffstat (limited to 'src/main/java/net/minecraft/server/NetServerHandler.java')
-rw-r--r--src/main/java/net/minecraft/server/NetServerHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java
index 5ce2485b..64df900d 100644
--- a/src/main/java/net/minecraft/server/NetServerHandler.java
+++ b/src/main/java/net/minecraft/server/NetServerHandler.java
@@ -581,7 +581,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
private void c(String s) {
// CraftBukkit start
CraftPlayer player = getPlayer();
- boolean targetPluginFound = server.dispatchCommand(player, s);
+ boolean targetPluginFound = server.dispatchCommand(player, s.substring(1));
if (targetPluginFound) {
return;
}