formatted code

This commit is contained in:
Lennart Kampshoff
2019-05-05 17:59:11 +02:00
parent a34c03eae9
commit a88d5256a8
54 changed files with 290 additions and 210 deletions

View File

@@ -25,7 +25,7 @@ namespace ReallifeGamemode.Server.Events
player.SendNotification("~r~Der Motor kann nur im Stand betätigt werden.", true);
return;
}
bool state = VehicleStreaming.GetEngineState(v);
ServerVehicle sV = v.GetServerVehicle();
if (sV != null)
@@ -74,9 +74,9 @@ namespace ReallifeGamemode.Server.Events
return;
}
}
else if(sV is UserVehicle uV)
else if (sV is UserVehicle uV)
{
if(uV.UserId != u.Id && !u.IsAdmin(AdminLevel.ADMIN3))
if (uV.UserId != u.Id && !u.IsAdmin(AdminLevel.ADMIN3))
{
return;
}