ItemCabinet UpdateAppearance doesn't log warnings for missing components.

This commit is contained in:
Vera Aguilera Puerto
2021-10-06 15:00:44 +02:00
parent 26041880ce
commit a45de34f6f

View File

@@ -38,7 +38,7 @@ namespace Content.Server.Cabinet
SharedItemSlotsComponent? itemSlots = null,
SharedAppearanceComponent? appearance = null)
{
if (!Resolve(uid, ref cabinet, ref itemSlots, ref appearance))
if (!Resolve(uid, ref cabinet, ref itemSlots, ref appearance, false))
return;
appearance.SetData(ItemCabinetVisuals.IsOpen, cabinet.Opened);