mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-04-05 17:08:05 +00:00
The wp_refresh command is made inaccessible to players via chat.
This commit is contained in:
@@ -157,6 +157,10 @@ public partial class WeaponPaints
|
||||
private void OnCommandSkinRefresh(CCSPlayerController? player, CommandInfo command)
|
||||
{
|
||||
if (!Config.Additional.CommandWpEnabled || !Config.Additional.SkinEnabled || !_gBCommandsAllowed) return;
|
||||
if (player != null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var args = command.GetArg(1);
|
||||
|
||||
@@ -1023,4 +1027,4 @@ public partial class WeaponPaints
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user