[Hunting] Fix for leaderboard

This commit is contained in:
aikaterna
2020-04-08 10:54:09 -07:00
committed by GitHub
parent 2263e3bc98
commit e320e2c9dc

View File

@@ -11,7 +11,7 @@ from redbot.core.utils.chat_formatting import bold, box, humanize_list, humanize
from redbot.core.utils.menus import menu, DEFAULT_CONTROLS
__version__ = "3.0.1"
__version__ = "3.0.2"
class Hunting(commands.Cog):
@@ -85,6 +85,7 @@ class Hunting(commands.Cog):
else "Name",
)
temp_msg = header
user_idx = 0
for pos, account in enumerate(sorted_acc):
if account[1]["total"] == 0:
continue