Merge tag 'nametag-blip-color-offline' into develop
0.0.4-h1
This commit is contained in:
@@ -328,6 +328,11 @@ namespace ReallifeGamemode.Server.Extensions
|
|||||||
int nameTagColor = 0;
|
int nameTagColor = 0;
|
||||||
|
|
||||||
Player player = user.Player;
|
Player player = user.Player;
|
||||||
|
if(player == null || !player.IsLoggedIn())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bool duty = user.GetData<bool>("duty");
|
bool duty = user.GetData<bool>("duty");
|
||||||
|
|
||||||
if (player.GetData<bool>("SAdminduty"))
|
if (player.GetData<bool>("SAdminduty"))
|
||||||
|
|||||||
Reference in New Issue
Block a user