From 38670e99f4588de190ed8d054feec52b74c10d35 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Fri, 20 Sep 2024 11:04:54 -0400 Subject: [PATCH] Update SetOutfitCommand.cs --- Content.Server/Administration/Commands/SetOutfitCommand.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Content.Server/Administration/Commands/SetOutfitCommand.cs b/Content.Server/Administration/Commands/SetOutfitCommand.cs index 12312286518..e19c5b72fa4 100644 --- a/Content.Server/Administration/Commands/SetOutfitCommand.cs +++ b/Content.Server/Administration/Commands/SetOutfitCommand.cs @@ -14,6 +14,7 @@ using Robust.Shared.Prototypes; using Content.Server.Silicon.IPC; using Content.Shared.Radio.Components; +using Content.Shared.Cluwne; namespace Content.Server.Administration.Commands { @@ -129,6 +130,8 @@ public static bool SetOutfit(EntityUid target, string gear, IEntityManager entit } } + if (entityManager.HasComponent(target)) + return true; //Fuck it, nuclear option for not Cluwning an IPC because that causes a crash that SOMEHOW ignores null checks. if (entityManager.HasComponent(target)) { var encryption = new InternalEncryptionKeySpawner();