Implemented player.performCommand(String)

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-28 09:15:32 +00:00
parent 78473d2dd4
commit 991af11e0b

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