From dd2f46e32ed75c9853db5c24d59c553b113438c3 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 8 May 2019 20:17:45 +1000 Subject: [PATCH] SPIGOT-4890: EntityDeathEvent fires twice when breaking an armor stand in survival mode By: md_5 --- paper-server/nms-patches/EntityArmorStand.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/EntityArmorStand.patch b/paper-server/nms-patches/EntityArmorStand.patch index 630bf070b48..cdbb8f82f2a 100644 --- a/paper-server/nms-patches/EntityArmorStand.patch +++ b/paper-server/nms-patches/EntityArmorStand.patch @@ -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;