mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-09 17:27:37 +01:00
Simplified IslandManager
This commit is contained in:
parent
0c53fbde5c
commit
57fde643df
@ -1651,7 +1651,9 @@ public class IslandManager {
|
||||
settings.put("Damage", true);
|
||||
|
||||
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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user