From c0c1fe25666ae8515471d6f63d78601a81d4e38f Mon Sep 17 00:00:00 2001 From: Dawid Bepierszcz <41084667+daffyyyy@users.noreply.github.com> Date: Thu, 16 Nov 2023 00:05:34 +0100 Subject: [PATCH] Update WeaponPaints.cs --- WeaponPaints.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WeaponPaints.cs b/WeaponPaints.cs index 5b2eda63..24bb735c 100644 --- a/WeaponPaints.cs +++ b/WeaponPaints.cs @@ -282,6 +282,8 @@ public class WeaponPaints : BasePlugin, IPluginConfig { commandCooldown[playerIndex] = DateTime.UtcNow; Task.Run(async () => await GetWeaponPaintsFromDatabase(playerIndex)); + if (Config.Additional.KnifeEnabled) + Task.Run(async () => await GetKnifeFromDatabase(playerIndex)); if (!string.IsNullOrEmpty(Config.Messages.SuccessRefreshCommand)) { temp = $"{Config.Prefix} {Config.Messages.SuccessRefreshCommand}"; player.PrintToChat(ReplaceTags(temp));