Added Player.chat().

This commit is contained in:
sk89q
2011-02-16 21:46:01 -08:00
parent 03c118f343
commit 5f940cf764
2 changed files with 36 additions and 20 deletions

View File

@@ -110,6 +110,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
entity.a.b(((Packet) (new Packet6SpawnPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()))));
}
public void chat(String msg) {
entity.a.chat(msg);
}
public boolean performCommand(String command) {
return server.dispatchCommand(this, command);
}