mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Adjust remaining passives
Made other passives do the same as speed and jump for disabled worlds
This commit is contained in:
parent
a1b2c1f0ad
commit
1077ccbb9a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue