You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.
To Reproduce
Steps to reproduce the behavior:
Set a cost on any of the teleport commands in commands.conf (eg cost=10 under tpa)
Set a coodlown on any of the teleport commands in commands.conf (eg cooldown=900)
check balance (/balance from total economy)
Use the command once to initiate the cooldown
Check balance has been deducted.
Use the command again this time you get the message you cannot use this command for 900 seconds
check balance and find another 10 has been deducted even though the teleport did not complete
Expected behavior
Should not take the currency from the player while on cooldown. Taken from your command.conf file that says
"The cost will only be deducted if successful"
What is the bug?
RTP Home And TPA are all charging the player the cost I assigned even when the command is on cooldown.
What version of Nucleus are you running?
Nucleus version 2.4.0 (built from commit d4ec0f9)
Nucleus-2.4.0-MC1.12.2-SpongeAPI7.3-plugin.jar
What version of Sponge are you running?
7.3.1
spongeforge-1.12.2-2838-7.3.1-RC4082.jar
Provide a link to the file generated by
/nucleus info
https://pastebin.com/8vCSLzai or https://gist.github.com/Arklite/2dbbe36be3e312174bd3104271c1ca86
To Reproduce
Steps to reproduce the behavior:
Set a cost on any of the teleport commands in commands.conf (eg cost=10 under tpa)
Set a coodlown on any of the teleport commands in commands.conf (eg cooldown=900)
check balance (/balance from total economy)
Use the command once to initiate the cooldown
Check balance has been deducted.
Use the command again this time you get the message you cannot use this command for 900 seconds
check balance and find another 10 has been deducted even though the teleport did not complete
Expected behavior
Should not take the currency from the player while on cooldown. Taken from your command.conf file that says
"The cost will only be deducted if successful"
Logs
https://gist.github.com/Arklite/960dd133692e0f441971429fa3db260e
The text was updated successfully, but these errors were encountered: