Implemented player.performCommand(String)

This commit is contained in:
Dinnerbone 2011-01-28 09:15:32 +00:00
parent cab61f169e
commit c2d9af58fe

View file

@ -106,4 +106,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
entity.a.b(((Packet) (new Packet6SpawnPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()))));
}
public boolean performCommand(String command) {
return server.dispatchCommand(this, command);
}
}