mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Fix developer title not showing up on Offline mode servers
This commit is contained in:
parent
a849e01ce5
commit
bc37ed5341
@ -140,7 +140,11 @@ public class FUtil
|
||||
|
||||
public static boolean isDeveloper(Player player)
|
||||
{
|
||||
return DEVELOPERS.contains(player.getUniqueId().toString());
|
||||
if (getOnlineMode()) {
|
||||
return DEVELOPERS.contains(player.getUniqueId().toString());
|
||||
} else {
|
||||
return DEVELOPERS.contains(player.getDisplayName());
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean inDeveloperMode()
|
||||
|
Loading…
Reference in New Issue
Block a user