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"