diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-28 09:15:32 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-28 09:15:32 +0000 |
commit | c2d9af58fec008b2651dd7564421f0c65e549b7f (patch) | |
tree | 38492d2b5e35889f87875e81922414abad91ff89 /src | |
parent | cab61f169e16e5871f5b2c6bf7d729b221fe37f7 (diff) | |
download | craftbukkit-c2d9af58fec008b2651dd7564421f0c65e549b7f.tar craftbukkit-c2d9af58fec008b2651dd7564421f0c65e549b7f.tar.gz craftbukkit-c2d9af58fec008b2651dd7564421f0c65e549b7f.tar.lz craftbukkit-c2d9af58fec008b2651dd7564421f0c65e549b7f.tar.xz craftbukkit-c2d9af58fec008b2651dd7564421f0c65e549b7f.zip |
Implemented player.performCommand(String)
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 3 |
1 files changed, 3 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 a1ed1165..2ceb8d97 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -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); + } } |