Release 1.11.4.1 (Winter Update)

This commit is contained in:
Markus Isberg
2025-12-08 14:56:47 +00:00
parent 21e34e5cd8
commit 598966f200
121 changed files with 1614 additions and 819 deletions
@@ -690,7 +690,7 @@ namespace Barotrauma
foreach (Item containedItem in character.Inventory.AllItemsMod)
{
//only put into containers that draw the inventory (not ones with a hidden inventory like circuit boxes!)
if (containedItem.OwnInventory?.Container is { DrawInventory: true } &&
if (containedItem.OwnInventory?.Container is { DrawInventory: true } container && container.IsAccessible() &&
containedItem.OwnInventory.TryPutItem(item, user: null, item.AllowedSlots))
{
break;