diff --git a/ReallifeGamemode.Server/Managers/HanfManager.cs b/ReallifeGamemode.Server/Managers/HanfManager.cs index b262638c..9f7e5f7a 100644 --- a/ReallifeGamemode.Server/Managers/HanfManager.cs +++ b/ReallifeGamemode.Server/Managers/HanfManager.cs @@ -646,6 +646,7 @@ namespace ReallifeGamemode.Server.Managers var price = amount * CANNABIS_PRICE; user.Handmoney += price; InventoryManager.RemoveUserItem(user, cannabisUserItem, amount); + dbContext.SaveChanges(); logger.LogInformation("Player {0} sold {1} cannabis to the server for {2} dollars", player.Name, amount, price);