staatsfrak cars tunen
This commit is contained in:
@@ -38,7 +38,7 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
if (c.IsInVehicle && c.VehicleSeat == 0)
|
if (c.IsInVehicle && c.VehicleSeat == 0)
|
||||||
{
|
{
|
||||||
Vehicle v = c.Vehicle;
|
Vehicle v = c.Vehicle;
|
||||||
if (v.GetServerVehicle() is FactionVehicle fV && fV.GetOwners().Any(fV => dbContext.Factions.Where(f => f.Id == fV && f.StateOwned).Any()))
|
if (v.GetServerVehicle() is FactionVehicle fV)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user