diff --git a/src/main/java/com/comandante/creeper/npc/Npc.java b/src/main/java/com/comandante/creeper/npc/Npc.java index 76a630d4fdfb6a3a68e8146d9b93968521f50adf..a343305fa2024420d7b6fe99102cec8f57d7b21e 100644 --- a/src/main/java/com/comandante/creeper/npc/Npc.java +++ b/src/main/java/com/comandante/creeper/npc/Npc.java @@ -218,6 +218,7 @@ public class Npc extends CreeperEntity { private void killNpc(Player player) { isAlive.set(false); + player.removeActiveAlertStatus(this); Map<String, Double> damagePercents; Item corpse = new Item(getName() + " corpse", "a bloody corpse.", Arrays.asList("corpse", "c"), "a corpse lies on the ground.", UUID.randomUUID().toString(), Item.CORPSE_ID_RESERVED, 0, false, 120, Rarity.BASIC, 0, getLoot()); if (!player.isActive(CoolDownType.DEATH)) {