Added Player.chat().
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
e44ffec0f5
commit
ddc6442b3b
1 changed files with 4 additions and 0 deletions
|
@ -110,6 +110,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||||
entity.a.b(((Packet) (new Packet6SpawnPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()))));
|
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) {
|
public boolean performCommand(String command) {
|
||||||
return server.dispatchCommand(this, command);
|
return server.dispatchCommand(this, command);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue