From 95cb03b50e5ee99710f2a58c29ff0d140ae51f85 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 17 Jan 2011 09:23:12 +0800 Subject: [PATCH] Fixed melee knockback/sheep shearing --- src/main/java/net/minecraft/server/EntityPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 96ba9630a4..f971219d30 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -345,7 +345,7 @@ public abstract class EntityPlayer extends EntityLiving { server.getPluginManager().callEvent(edbee); if (!edbee.isCancelled()){ - entity.a(((Entity) (null)), edbee.getDamage()); + entity.a(((Entity) this), edbee.getDamage()); } else { return; }