mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
publish: 5.8.9
This commit is contained in:
parent
ca993087fe
commit
49befa61bd
3 changed files with 2 additions and 4 deletions
|
@ -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 <ste.pigozzi@gmail.com>"]
|
||||
license = "AGPL-3.0+"
|
||||
|
|
|
@ -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.")
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
semantic = "5.8.8"
|
||||
semantic = "5.8.9"
|
||||
|
|
Loading…
Reference in a new issue