Use IContainer instead of BaseContainer. (#12876)

This commit is contained in:
Vordenburg
2022-12-05 16:03:58 -05:00
committed by GitHub
parent acdc92d0ab
commit 54397ca4a7

View File

@@ -90,7 +90,7 @@ public abstract partial class SharedHandsSystem : EntitySystem
/// <summary>
/// Attempts to move a held item from a hand into a container that is not another hand, without dropping it on the floor in-between.
/// </summary>
public bool TryDropIntoContainer(EntityUid uid, EntityUid entity, BaseContainer targetContainer, bool checkActionBlocker = true, SharedHandsComponent? handsComp = null)
public bool TryDropIntoContainer(EntityUid uid, EntityUid entity, IContainer targetContainer, bool checkActionBlocker = true, SharedHandsComponent? handsComp = null)
{
if (!Resolve(uid, ref handsComp))
return false;