From 0e586e3faeb7119fb01a248c7ac7c6084f9ad7b2 Mon Sep 17 00:00:00 2001 From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 30 Apr 2025 02:19:07 +0200 Subject: [PATCH] Hotfix: Fix item toggling crashing the client for slimes (#37054) fix item toggling crashing the server for slimes --- Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs index e9ed89f560..6b91ddc7f4 100644 --- a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs +++ b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs @@ -347,6 +347,7 @@ public abstract class SharedStorageSystem : EntitySystem storage = null; if (!ContainerSystem.TryGetContainingContainer(itemEnt, out container) || + container.ID != StorageComponent.ContainerId || !TryComp(container.Owner, out storage) || !_itemQuery.Resolve(itemEnt, ref itemEnt.Comp, false)) {