Added Player.chat().

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-02-16 21:46:01 -08:00
parent e44ffec0f5
commit ddc6442b3b

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