mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-27 12:45:25 +01:00
Fix coop settings not working
This commit is contained in:
parent
b58eef400d
commit
9d9fb48f0f
@ -537,6 +537,9 @@ public class Island {
|
||||
}
|
||||
|
||||
public IslandRole getRole(OfflinePlayer player) {
|
||||
if(isCoopPlayer(player.getUniqueId())){
|
||||
return IslandRole.Coop; // TODO Rework Coop status - Fabrimat
|
||||
}
|
||||
for (IslandRole role : IslandRole.values())
|
||||
if (getRole(role).contains(player.getUniqueId()))
|
||||
return role;
|
||||
|
Loading…
Reference in New Issue
Block a user