mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +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)
|
public static boolean isDeveloper(Player player)
|
||||||
{
|
{
|
||||||
|
if (getOnlineMode()) {
|
||||||
return DEVELOPERS.contains(player.getUniqueId().toString());
|
return DEVELOPERS.contains(player.getUniqueId().toString());
|
||||||
|
} else {
|
||||||
|
return DEVELOPERS.contains(player.getDisplayName());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean inDeveloperMode()
|
public static boolean inDeveloperMode()
|
||||||
|
Loading…
Reference in New Issue
Block a user