mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-02-17 18:39:07 +00:00
Update WeaponPaints.cs
This commit is contained in:
@@ -282,6 +282,8 @@ public class WeaponPaints : BasePlugin, IPluginConfig<WeaponPaintsConfig>
|
||||
{
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user