summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorunknown <Jay@.(none)>2011-01-17 09:23:12 +0800
committertahg <tahgtahv@gmail.com>2011-01-17 09:48:35 +0800
commit95cb03b50e5ee99710f2a58c29ff0d140ae51f85 (patch)
tree2259c345d1eb3762fb2f7708516bfd311ac4720e /src/main/java/net
parent80a59397cb701e2beb1880ad1023dd09a5795a34 (diff)
downloadcraftbukkit-95cb03b50e5ee99710f2a58c29ff0d140ae51f85.tar
craftbukkit-95cb03b50e5ee99710f2a58c29ff0d140ae51f85.tar.gz
craftbukkit-95cb03b50e5ee99710f2a58c29ff0d140ae51f85.tar.lz
craftbukkit-95cb03b50e5ee99710f2a58c29ff0d140ae51f85.tar.xz
craftbukkit-95cb03b50e5ee99710f2a58c29ff0d140ae51f85.zip
Fixed melee knockback/sheep shearing
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/EntityPlayer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
index 96ba9630..f971219d 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;
}