From 49befa61bdfe8e6552e32ead4f02ffd6577526fe Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 22 May 2020 15:03:30 +0200 Subject: [PATCH] publish: 5.8.9 --- pyproject.toml | 2 +- royalpack/commands/givetreasure.py | 2 -- royalpack/version.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 49340c3a..5df58aec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.8.8" + version = "5.8.9" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/commands/givetreasure.py b/royalpack/commands/givetreasure.py index 40a8b10d..554902b5 100644 --- a/royalpack/commands/givetreasure.py +++ b/royalpack/commands/givetreasure.py @@ -14,8 +14,6 @@ class GivetreasureCommand(MagicktreasureCommand): syntax: str = "{codice} {valore}" async def _permission_check(self, author, code, value, data): - if "banker" not in author.roles: - raise rc.UserError("Non hai permessi sufficienti per eseguire questo comando.") if author.fiorygi.fiorygi < value: raise rc.UserError("Non hai abbastanza fiorygi per creare questo Treasure.") diff --git a/royalpack/version.py b/royalpack/version.py index a45c0f0b..d8460d48 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1 @@ -semantic = "5.8.8" +semantic = "5.8.9"