From 18880a00f4d43ef2b82081d2f107a25f03a3d663 Mon Sep 17 00:00:00 2001 From: Chiss Date: Sat, 1 Mar 2014 11:09:15 +1100 Subject: [PATCH] fletcher doesnt give to specs --- .../src/nautilus/game/arcade/kit/perks/PerkFletcher.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkFletcher.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkFletcher.java index 72ff8e158..2c50e1f13 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkFletcher.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/PerkFletcher.java @@ -3,6 +3,7 @@ package nautilus.game.arcade.kit.perks; import java.util.HashSet; import java.util.Iterator; +import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.Sound; import org.bukkit.entity.Entity; @@ -81,6 +82,9 @@ public class PerkFletcher extends Perk for (Player cur : UtilServer.getPlayers()) { + if (cur.getGameMode() != GameMode.SURVIVAL) + continue; + if (!Kit.HasKit(cur)) continue;