Make ItemCabinet use ItemSlots (#4771)
* pda slot names * cabinets use item slots * fix yaml * fix tests
This commit is contained in:
@@ -138,7 +138,7 @@ namespace Content.Server.Sandbox
|
||||
if (pda.Owner.TryGetComponent(out SharedItemSlotsComponent? itemSlots))
|
||||
{
|
||||
_entityManager.EntitySysManager.GetEntitySystem<SharedItemSlotsSystem>().
|
||||
TryInsertContent(itemSlots, newID, PDAComponent.IDSlotName);
|
||||
TryInsertContent(itemSlots, newID, pda.IdSlot);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user