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

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

View File

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