Merge branch 'hotfix/nametag-blip-color-offline'

This commit is contained in:
hydrant
2021-04-11 17:53:05 +02:00

View File

@@ -328,6 +328,11 @@ namespace ReallifeGamemode.Server.Extensions
int nameTagColor = 0;
Player player = user.Player;
if(player == null || !player.IsLoggedIn())
{
return;
}
bool duty = user.GetData<bool>("duty");
if (player.GetData<bool>("SAdminduty"))