diff options
author | sk89q <the.sk89q@gmail.com> | 2011-02-16 21:46:01 -0800 |
---|---|---|
committer | sk89q <the.sk89q@gmail.com> | 2011-02-16 21:47:01 -0800 |
commit | 5f940cf764a32cc1933634ca57501a6e5e4f7f77 (patch) | |
tree | b26fb7e62fc4d9500c713eb863cf98b352947173 /src/main/java/org | |
parent | 03c118f343f8e559c0573589f4f89e4e2b3d10ad (diff) | |
download | craftbukkit-5f940cf764a32cc1933634ca57501a6e5e4f7f77.tar craftbukkit-5f940cf764a32cc1933634ca57501a6e5e4f7f77.tar.gz craftbukkit-5f940cf764a32cc1933634ca57501a6e5e4f7f77.tar.lz craftbukkit-5f940cf764a32cc1933634ca57501a6e5e4f7f77.tar.xz craftbukkit-5f940cf764a32cc1933634ca57501a6e5e4f7f77.zip |
Added Player.chat().
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 7871480a..3faa3e32 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -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); } |