fixed double firing of EntityDamageByEntityEvent

This commit is contained in:
sunkid
2011-12-27 10:56:46 -08:00
committed by Erik Broes
parent 5adcf526ab
commit 066a95769c
2 changed files with 8 additions and 2 deletions

View File

@@ -17,6 +17,10 @@ public class EntityDamageSourceIndirect extends EntityDamageSource {
// CraftBukkit start
String source = (this.n == null) ? "Herobrine" : this.n.ad();
return LocaleI18n.a("death." + this.m, new Object[] { entityhuman.name, source});
}
public Entity getProximateDamageSource() {
return super.getEntity();
// CraftBukkit end
}
}
}