From b0d5c9042ab1251707ed07b6104b4590e8e9081c Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 28 Dec 2010 21:52:39 +0000 Subject: [PATCH] Implemented PLAYER_CHAT and PLAYER_COMMAND By: Dinnerbone --- paper-server/src/org/bukkit/craftbukkit/CraftPlayer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-server/src/org/bukkit/craftbukkit/CraftPlayer.java b/paper-server/src/org/bukkit/craftbukkit/CraftPlayer.java index 9e720c5a1a..2f0c66110d 100644 --- a/paper-server/src/org/bukkit/craftbukkit/CraftPlayer.java +++ b/paper-server/src/org/bukkit/craftbukkit/CraftPlayer.java @@ -32,4 +32,8 @@ public class CraftPlayer implements Player { public World getWorld() { return server.getWorld(player.b.e); } + + public EntityPlayerMP getEntity() { + return player; + } }