mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2024-05-20 19:41:24 +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 a new issue