Use IContainer instead of BaseContainer. (#12876)
This commit is contained in:
@@ -90,7 +90,7 @@ public abstract partial class SharedHandsSystem : EntitySystem
|
|||||||
/// <summary>
|
/// <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.
|
/// 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>
|
/// </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))
|
if (!Resolve(uid, ref handsComp))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user