From be9a264249ce40785c5f5b6463a1095ab6495be6 Mon Sep 17 00:00:00 2001 From: Andrew Ardill Date: Sat, 12 Feb 2011 22:38:37 +1100 Subject: [PATCH] Fixed bug in event when taking fall damage. Now uses event damage. --- src/main/java/net/minecraft/server/EntityLiving.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java index 2ac229f1c7..366f8f1efa 100644 --- a/src/main/java/net/minecraft/server/EntityLiving.java +++ b/src/main/java/net/minecraft/server/EntityLiving.java @@ -480,7 +480,7 @@ public abstract class EntityLiving extends Entity { server.getPluginManager().callEvent(event); if (!event.isCancelled()){ - this.a((Entity) null, i); + this.a((Entity) null, event.getDamage()); } // CraftBukkit end