Merge pull request #475 from Simplicitee/master

Fix passives bug
This commit is contained in:
OmniCypher 2016-04-08 15:47:29 -07:00
commit 7a65095dc2

View file

@ -94,7 +94,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;
} }
boolean sandbender = true; boolean sandbender = true;
@ -143,7 +143,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);