From 48b27f952f554dedfa831fda3e935ebd30b7bd5a Mon Sep 17 00:00:00 2001 From: hydrant Date: Mon, 5 Apr 2021 14:52:04 +0200 Subject: [PATCH] fix grounditem pickup --- ReallifeGamemode.Server/Inventory/GroundItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Inventory/GroundItem.cs b/ReallifeGamemode.Server/Inventory/GroundItem.cs index 253c1ab4..4c6ca743 100644 --- a/ReallifeGamemode.Server/Inventory/GroundItem.cs +++ b/ReallifeGamemode.Server/Inventory/GroundItem.cs @@ -39,7 +39,7 @@ namespace ReallifeGamemode.Server.Inventory UserItem existingItem = InventoryManager.UserHasThisItem(player, nearest.ItemId); var user = player.GetUser(); if (player.HasAttachment("ammobox")) - { player.SendNotification("~r~Du kannst momentan nichts tragen!", false); return; } + { player.SendNotification("~r~Du kannst momentan nichts tragen!", false); return false; } if (nearestItem.Gewicht * nearest.Amount + invWeight > 40000) { for (var i = 1; i <= nearest.Amount; i++)