Merge branch 'develop' of ssh://development.life-of-german.org:451/log-gtav/reallife-gamemode into develop

This commit is contained in:
michael.reiswich
2021-05-26 00:16:53 +02:00
8 changed files with 41 additions and 33 deletions

View File

@@ -299,7 +299,7 @@ namespace ReallifeGamemode.Server.Events
dbContext.VehicleItems.Remove(v);
}
logger.LogInformation("Player {0} took the weapon deal item {1} (amount: {2}) out of weapon vehicle {3}", player.Name, v.VehicleId, itemToAdd, v.VehicleId);
logger.LogInformation("Player {0} took the weapon deal item {1} (amount: {2}) out of weapon vehicle {3}", player.Name, v.ItemId, itemToAdd, v.VehicleId);
InventoryManager.AddItemToInventory(player, v.ItemId, itemToAdd);
nearestBehindVehiclePoint.usePoint(player);
@@ -975,7 +975,7 @@ namespace ReallifeGamemode.Server.Events
return;
}
if(player.Dead == true)
if (player.Dead == true)
{
return;
}