correctif grind max level
This commit is contained in:
parent
5573bb2bed
commit
669167b402
@ -350,7 +350,10 @@ class WynncraftCog(commands.Cog):
|
||||
|
||||
for grind_spot in grind_spots:
|
||||
if grind_spot["minlevel"] <= level <= grind_spot["maxlevel"]:
|
||||
hints.append(":star: Tu peux grinder aux coordonnées %s jusqu'au niveau %s" % (grind_spot["location"], grind_spot["maxlevel"] + 1))
|
||||
hotfix_maxlevel = grind_spot["maxlevel"]
|
||||
if hotfix_maxlevel < 106:
|
||||
hotfix_maxlevel += 1
|
||||
hints.append(":star: Tu peux grinder aux coordonnées %s jusqu'au niveau %s" % (grind_spot["location"], hotfix_maxlevel))
|
||||
break
|
||||
|
||||
if hints:
|
||||
@ -666,6 +669,7 @@ class WynncraftCog(commands.Cog):
|
||||
await update_msg.edit(content=full_text)
|
||||
|
||||
except:
|
||||
traceback.print_exc()
|
||||
if await self.config.log():
|
||||
traceback.print_exc()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user