ItemCabinet UpdateAppearance doesn't log warnings for missing components.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace Content.Server.Cabinet
|
|||||||
SharedItemSlotsComponent? itemSlots = null,
|
SharedItemSlotsComponent? itemSlots = null,
|
||||||
SharedAppearanceComponent? appearance = null)
|
SharedAppearanceComponent? appearance = null)
|
||||||
{
|
{
|
||||||
if (!Resolve(uid, ref cabinet, ref itemSlots, ref appearance))
|
if (!Resolve(uid, ref cabinet, ref itemSlots, ref appearance, false))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
appearance.SetData(ItemCabinetVisuals.IsOpen, cabinet.Opened);
|
appearance.SetData(ItemCabinetVisuals.IsOpen, cabinet.Opened);
|
||||||
|
|||||||
Reference in New Issue
Block a user