Remove invalid error logging in HideLayerClothingSystem (#36529)

This commit is contained in:
Leon Friedrich
2025-04-14 14:56:37 +10:00
committed by GitHub
parent ed9958d838
commit 4f8f2de561

View File

@@ -45,7 +45,8 @@ public sealed class HideLayerClothingSystem : EntitySystem
if (!Resolve(clothing.Owner, ref clothing.Comp1, ref clothing.Comp2))
return;
if (!Resolve(user.Owner, ref user.Comp))
// logMissing: false, as this clothing might be getting equipped by a non-human.
if (!Resolve(user.Owner, ref user.Comp, false))
return;
hideLayers &= IsEnabled(clothing!);