mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-05 23:37:39 +01:00
Fix for permission setting for owners and ops
This commit is contained in:
parent
32b8f661ca
commit
c58c60a805
@ -187,11 +187,11 @@ public class PermissionManager {
|
||||
|
||||
switch(island.getRole(player)){
|
||||
case Owner:
|
||||
if(configLoad.getBoolean("Island.Settings.OwnersAndOperatorsAsMembers", false)){
|
||||
if(!configLoad.getBoolean("Island.Settings.OwnersAndOperatorsAsMembers", false)){
|
||||
return island.hasPermission(IslandRole.Owner, permission);
|
||||
}
|
||||
case Operator:
|
||||
if(configLoad.getBoolean("Island.Settings.OwnersAndOperatorsAsMembers", false)){
|
||||
if(!configLoad.getBoolean("Island.Settings.OwnersAndOperatorsAsMembers", false)){
|
||||
return island.hasPermission(IslandRole.Operator, permission);
|
||||
}
|
||||
case Member:
|
||||
|
Loading…
Reference in New Issue
Block a user