3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 04:20:08 +01:00

SPIGOT-4890: EntityDeathEvent fires twice when breaking an armor stand in survival mode

Dieser Commit ist enthalten in:
md_5 2019-05-08 20:17:45 +10:00
Ursprung b38a3c338c
Commit 15e02b4056

Datei anzeigen

@ -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;