Simplified IslandManager

This commit is contained in:
Fabrizio La Rosa 2020-07-30 20:24:56 +02:00
parent 0c53fbde5c
commit 57fde643df

View File

@ -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++;
}
}