mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-10 09:47:42 +01:00
Simplified IslandManager
This commit is contained in:
parent
0c53fbde5c
commit
57fde643df
@ -1651,7 +1651,9 @@ public class IslandManager {
|
|||||||
settings.put("Damage", true);
|
settings.put("Damage", true);
|
||||||
|
|
||||||
for (String settingList : settings.keySet()) {
|
for (String settingList : settings.keySet()) {
|
||||||
if (configLoad.getBoolean("Island.Settings." + settingList + ".Enable") && island.hasPermission(IslandRole.Owner, plugin.getPermissionManager().getPermission(settingList)) == settings.get(settingList)) {
|
if (configLoad.getBoolean("Island.Settings." + settingList + ".Enable") &&
|
||||||
|
island.hasPermission(IslandRole.Owner, plugin.getPermissionManager().getPermission(settingList)) ==
|
||||||
|
settings.get(settingList)) {
|
||||||
safeLevel++;
|
safeLevel++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user