mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02:00
SPIGOT-4890: EntityDeathEvent fires twice when breaking an armor stand in survival mode
This commit is contained in:
parent
b38a3c338c
commit
15e02b4056
@ -88,7 +88,7 @@
|
||||
this.f(damagesource);
|
||||
this.D();
|
||||
- this.die();
|
||||
+ this.killEntity(); // CraftBukkit - this.die() -> this.killEntity()
|
||||
+ this.die(); // CraftBukkit - SPIGOT-4890: remain as this.die() since above damagesource method will call death event
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user