From 1077ccbb9ac71e3547ce1f3da9d689dab7d59bb8 Mon Sep 17 00:00:00 2001 From: Benford Date: Fri, 8 Apr 2016 20:20:53 -0400 Subject: [PATCH] Adjust remaining passives Made other passives do the same as speed and jump for disabled worlds --- src/com/projectkorra/projectkorra/util/PassiveHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/projectkorra/projectkorra/util/PassiveHandler.java b/src/com/projectkorra/projectkorra/util/PassiveHandler.java index 134cbdec..536c03d4 100644 --- a/src/com/projectkorra/projectkorra/util/PassiveHandler.java +++ b/src/com/projectkorra/projectkorra/util/PassiveHandler.java @@ -44,7 +44,7 @@ public class PassiveHandler implements Runnable{ public static void handleArmorPassives() { for (Player player : Bukkit.getOnlinePlayers()) { if (ConfigManager.defaultConfig.get().getStringList("Properties.DisabledWorlds").contains(player.getWorld().getName())) { - return; + continue; } BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player); @@ -69,7 +69,7 @@ public class PassiveHandler implements Runnable{ for (Player player : Bukkit.getOnlinePlayers()) { if (ConfigManager.defaultConfig.get().getStringList("Properties.DisabledWorlds").contains(player.getWorld().getName())) { - return; + continue; } BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player);