Commands can be sent from the console (WIP, needs improvements)

This commit is contained in:
Dinnerbone committed 2011-02-01 18:13:12 +00:00
1 parent 657913faeb
commit 21b8c16886
2 files changed
+9 -1

No files matched your search

@@ -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;
}