From 432c87f7e23222c72b92059c0860714fd29ef83a Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Sat, 16 Dec 2023 20:45:18 -0500 Subject: [PATCH] Fix spray nozzle (#22624) * Fix spray nozzle * what * no --- .../Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs index a144d96567..77ee419ac3 100644 --- a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs +++ b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.Clothing.cs @@ -1,4 +1,4 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; using Content.Shared.Inventory; using Content.Shared.Weapons.Ranged.Components; using Content.Shared.Weapons.Ranged.Events; @@ -42,7 +42,7 @@ public partial class SharedGunSystem while (enumerator.NextItem(out var item)) { - if (component.ProviderWhitelist == null || component.ProviderWhitelist.IsValid(item, EntityManager)) + if (component.ProviderWhitelist == null || !component.ProviderWhitelist.IsValid(item, EntityManager)) continue; slotEntity = item; -- 2.51.2