#1389: Fix incorrect damager entity for projectile damage events
This commit is contained in:
parent
df83bfa1ee
commit
0799013466
@ -280,7 +280,7 @@
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ DamageSource damagesource = this.damageSources().playerAttack(this);
|
||||
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f1, false)) {
|
||||
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(entity, damagesource, f1, false)) {
|
||||
+ return;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
Loading…
x
Reference in New Issue
Block a user