Adjust remaining passives

Made other passives do the same as speed and jump for disabled worlds
This commit is contained in:
Benford 2016-04-08 20:20:53 -04:00
parent a1b2c1f0ad
commit 1077ccbb9a

View file

@ -44,7 +44,7 @@ public class PassiveHandler implements Runnable{
public static void handleArmorPassives() { public static void handleArmorPassives() {
for (Player player : Bukkit.getOnlinePlayers()) { for (Player player : Bukkit.getOnlinePlayers()) {
if (ConfigManager.defaultConfig.get().getStringList("Properties.DisabledWorlds").contains(player.getWorld().getName())) { if (ConfigManager.defaultConfig.get().getStringList("Properties.DisabledWorlds").contains(player.getWorld().getName())) {
return; continue;
} }
BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player); BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player);
@ -69,7 +69,7 @@ public class PassiveHandler implements Runnable{
for (Player player : Bukkit.getOnlinePlayers()) { for (Player player : Bukkit.getOnlinePlayers()) {
if (ConfigManager.defaultConfig.get().getStringList("Properties.DisabledWorlds").contains(player.getWorld().getName())) { if (ConfigManager.defaultConfig.get().getStringList("Properties.DisabledWorlds").contains(player.getWorld().getName())) {
return; continue;
} }
BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player); BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player);