fix ItemSlotsSystem debug assert (#38655)

This commit is contained in:
slarticodefast
2025-06-29 16:33:58 +02:00
committed by GitHub
parent 90915075fb
commit 4bd437272f

View File

@@ -395,7 +395,7 @@ namespace Content.Shared.Containers.ItemSlots
if (!Resolve(user, ref hands, false)) if (!Resolve(user, ref hands, false))
return false; return false;
if (!_handsSystem.TryGetActiveItem((uid, hands), out var held)) if (!_handsSystem.TryGetActiveItem((user, hands), out var held))
return false; return false;
if (!CanInsert(uid, held.Value, user, slot)) if (!CanInsert(uid, held.Value, user, slot))