From 8fa4ec646aad7651ccaa0e6defb6345266c65d0d Mon Sep 17 00:00:00 2001 From: Dawid Bepierszcz <41084667+daffyyyy@users.noreply.github.com> Date: Thu, 23 Apr 2026 19:14:32 +0200 Subject: [PATCH] Bump css version --- Events.cs | 2 +- VERSION | 2 +- WeaponPaints.cs | 4 ++-- WeaponPaints.csproj | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Events.cs b/Events.cs index e6e28252..602131df 100644 --- a/Events.cs +++ b/Events.cs @@ -291,7 +291,7 @@ namespace WeaponPaints if (!HasChangedKnife(player, out var _) || !HasChangedPaint(player, weaponDefIndex, out var _)) return HookResult.Continue; - if (player is { Connected: PlayerConnectedState.PlayerConnected, PawnIsAlive: true, PlayerPawn.IsValid: true }) + if (player is { Connected: PlayerConnectedState.Connected, PawnIsAlive: true, PlayerPawn.IsValid: true }) { GiveOnItemPickup(player); } diff --git a/VERSION b/VERSION index f4dd46c7..29aa8ba2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.2a +3.3a \ No newline at end of file diff --git a/WeaponPaints.cs b/WeaponPaints.cs index 8638cd83..88eace73 100644 --- a/WeaponPaints.cs +++ b/WeaponPaints.cs @@ -20,7 +20,7 @@ public partial class WeaponPaints : BasePlugin, IPluginConfig "Nereziel & daffyy"; public override string ModuleDescription => "Skin, gloves, agents and knife selector, standalone and web-based"; public override string ModuleName => "WeaponPaints"; - public override string ModuleVersion => "3.2b"; + public override string ModuleVersion => "3.3a"; public override void Load(bool hotReload) { @@ -47,7 +47,7 @@ public partial class WeaponPaints : BasePlugin, IPluginConfig(Utilities.GetPlayers().TakeWhile(_ => WeaponSync != null)) .Where(player => player.IsValid && !string.IsNullOrEmpty(player.IpAddress) && player is - { IsBot: false, Connected: PlayerConnectedState.PlayerConnected })) + { IsBot: false, Connected: PlayerConnectedState.Connected })) { var playerInfo = new PlayerInfo { diff --git a/WeaponPaints.csproj b/WeaponPaints.csproj index fb7a8537..3c4094aa 100644 --- a/WeaponPaints.csproj +++ b/WeaponPaints.csproj @@ -9,8 +9,8 @@ - - + +