mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
fixed double firing of EntityDamageByEntityEvent
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user