diff options
author | md_5 <md_5@bigpond.com> | 2012-04-16 19:43:53 +1000 |
---|---|---|
committer | md_5 <md_5@bigpond.com> | 2012-04-16 19:43:53 +1000 |
commit | 8eb7428ad1acd923a3ccf5a6aafc2200a636fc55 (patch) | |
tree | e1aec383f4fa39ac5bd8aa2815dc2f96b3b02428 | |
parent | 327a57de3c77a4adcc5d6cc75807d6fc3ca1fdaf (diff) | |
download | Essentials-8eb7428ad1acd923a3ccf5a6aafc2200a636fc55.tar Essentials-8eb7428ad1acd923a3ccf5a6aafc2200a636fc55.tar.gz Essentials-8eb7428ad1acd923a3ccf5a6aafc2200a636fc55.tar.lz Essentials-8eb7428ad1acd923a3ccf5a6aafc2200a636fc55.tar.xz Essentials-8eb7428ad1acd923a3ccf5a6aafc2200a636fc55.zip |
Do we have to remind @khobbits not to code while drunk. Again.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java b/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java index 829ef0313..9c8fa0707 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsEntityListener.java @@ -62,7 +62,7 @@ public class EssentialsEntityListener implements Listener } else if (eDefend instanceof Animals && eAttack instanceof Player) { - final User player = ess.getUser(eAttack); + final Player player = (Player)eAttack; final ItemStack hand = player.getItemInHand(); if (hand != null && hand.getType() == Material.MILK_BUCKET) { |