From 55b619a39bb92d8bee9a66dc5dd08b43f533db52 Mon Sep 17 00:00:00 2001 From: Uristqwerty Date: Wed, 19 Jan 2011 11:20:12 -0500 Subject: [PATCH] Probable fix for Bug #231. --- src/main/java/net/minecraft/server/EntityMobs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityMobs.java b/src/main/java/net/minecraft/server/EntityMobs.java index 9085af9a64..0dffa62b22 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);