summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorUristqwerty <Uristqwerty@gmail.com>2011-01-19 11:20:12 -0500
committerAndrew Ardill <andrew.ardill@gmail.com>2011-01-20 10:34:08 +1100
commit55b619a39bb92d8bee9a66dc5dd08b43f533db52 (patch)
tree067ae208fa637759e89a29dba538d495adcd5561 /src/main
parent8bbb0749efd099d7075d6de11dec257cdab1b888 (diff)
downloadcraftbukkit-55b619a39bb92d8bee9a66dc5dd08b43f533db52.tar
craftbukkit-55b619a39bb92d8bee9a66dc5dd08b43f533db52.tar.gz
craftbukkit-55b619a39bb92d8bee9a66dc5dd08b43f533db52.tar.lz
craftbukkit-55b619a39bb92d8bee9a66dc5dd08b43f533db52.tar.xz
craftbukkit-55b619a39bb92d8bee9a66dc5dd08b43f533db52.zip
Probable fix for Bug #231.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/EntityMobs.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityMobs.java b/src/main/java/net/minecraft/server/EntityMobs.java
index 9085af9a..0dffa62b 100644
--- a/src/main/java/net/minecraft/server/EntityMobs.java
+++ b/src/main/java/net/minecraft/server/EntityMobs.java
@@ -80,7 +80,7 @@ public class EntityMobs extends EntityCreature implements IMobs {
server.getPluginManager().callEvent(edbee);
if (!edbee.isCancelled()){
- entity.a(((Entity) (null)), edbee.getDamage());
+ entity.a(((Entity) (this)), edbee.getDamage());
}
} else {
entity.a(((Entity) (this)), c);