mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Fix passives bug
This commit is contained in:
parent
eda4f749b5
commit
80dc472dd1
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue