From 6ce5c577b84f1396c76ec1869e7d106beb4cc616 Mon Sep 17 00:00:00 2001 From: Spencer Date: Thu, 28 Dec 2017 19:43:40 -0500 Subject: [PATCH] Don't respawn the horse if the player no longer has the perk --- .../src/nautilus/game/arcade/kit/perks/PerkHorsePet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkHorsePet.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkHorsePet.java index 834bf9fca..847d43452 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkHorsePet.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkHorsePet.java @@ -114,7 +114,7 @@ public class PerkHorsePet extends Perk { Player player = respawnIterator.next(); - if (UtilTime.elapsed(_deathTime.get(player), 15000)) + if (UtilTime.elapsed(_deathTime.get(player), 15000) && hasPerk(player)) { respawnIterator.remove(); spawnHorse(player, true);