Merge branch 'develop' into 'luke-develop-patch-05564'
# Conflicts: # ReallifeGamemode.Server/DrivingSchool/PlaneSchool.cs
This commit is contained in:
@@ -38,7 +38,7 @@ namespace ReallifeGamemode.Server.Managers
|
||||
if (c.IsInVehicle && c.VehicleSeat == 0)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user