Fix Fractionrank for civil

This commit is contained in:
kookroach
2021-04-04 02:42:31 +02:00
parent b1d03adac1
commit 5e078b7276

View File

@@ -58,7 +58,7 @@ namespace ReallifeGamemode.Server.Bank
private static void EntityEnterFactionBankColShape(ColShape colShape, Player client)
{
if (client.IsInVehicle || !client.IsLoggedIn()) return;
if (client.IsInVehicle || !client.IsLoggedIn() || client.GetUser().FactionId is null) return;
if (client.GetUser().FactionLeader == true)
{