SPIGOT-4890: EntityDeathEvent fires twice when breaking an armor stand in survival mode
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7a93a50d32
commit
dd2f46e32e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue