From ea86d4f44de1f8f7905c361fd97c97470fd6505b Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Sat, 9 Apr 2022 13:52:45 +1200 Subject: [PATCH] Fix RGB resolve error (#7476) --- Content.Client/Items/Systems/ItemSystem.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Content.Client/Items/Systems/ItemSystem.cs b/Content.Client/Items/Systems/ItemSystem.cs index 32328ea664..d6d127c8b4 100644 --- a/Content.Client/Items/Systems/ItemSystem.cs +++ b/Content.Client/Items/Systems/ItemSystem.cs @@ -1,15 +1,9 @@ using Content.Shared.Hands; -using Content.Shared.Hands.Components; using Content.Shared.Item; using Robust.Client.GameObjects; using Robust.Client.Graphics; using Robust.Client.ResourceManagement; using Robust.Shared.Containers; -using Robust.Shared.GameObjects; -using Robust.Shared.IoC; -using Robust.Shared.Log; -using System; -using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using static Robust.Shared.GameObjects.SharedSpriteComponent; @@ -34,7 +28,7 @@ public sealed class ItemSystem : SharedItemSystem /// public override void VisualsChanged(EntityUid uid, SharedItemComponent? item = null) { - if (!Resolve(uid, ref item)) + if (!Resolve(uid, ref item, false)) return; // if the item is in a container, it might be equipped to hands or inventory slots --> update visuals.