diff --git a/src/CS2/Leaderboard/MSLeaderboard.cs b/src/CS2/Leaderboard/MSLeaderboard.cs index 25eaf93..1b04e45 100644 --- a/src/CS2/Leaderboard/MSLeaderboard.cs +++ b/src/CS2/Leaderboard/MSLeaderboard.cs @@ -14,8 +14,10 @@ public class MSLeaderboard(IServiceProvider provider, IDBConfig config) public void Start(BasePlugin? plugin, bool hotReload) { if (plugin == null) return; var cmd = provider.GetRequiredService(); - cmd.RegisterCommand(new LeaderboardCommand(this, - provider.GetRequiredService())); + var lbCommand = new LeaderboardCommand(this, + provider.GetRequiredService()); + cmd.RegisterCommand(lbCommand); + plugin.RegisterAllAttributes(lbCommand); } public async Task> GetTopGangs(int limit = 10,