fix 2
This commit is contained in:
parent
d8489cf46a
commit
c9c1f8276f
@ -132,7 +132,7 @@ class WynncraftCog(commands.Cog):
|
||||
last_status[guild_id][member_name][cl["name"]] = cl
|
||||
|
||||
# get max_combat_lvl_class
|
||||
if cl["professions"]["combat"]["level"] > max_combat_lvl_class["professions"]["combat"]["level"]:
|
||||
if not max_combat_lvl_class or cl["professions"]["combat"]["level"] > max_combat_lvl_class["professions"]["combat"]["level"]:
|
||||
max_combat_lvl_class = cl
|
||||
|
||||
await self._log("Setting max_combat_lvl_class role")
|
||||
|
Loading…
Reference in New Issue
Block a user