-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skript Crashed while getting player's money #6920
Comments
@UnderscoreTud I'd expect the money to be converted to a double, any ideas? |
I will take a look later |
@zopn333 can you send the full result of /sk info please? |
I'm struggling to replicate on 2.9.0
|
|
I've found a solution to it, just because {_money} is not a number. I parsed it as number then everything works again. But shouldn't bank account be a number? |
well money is technically |
Skript/Server Version
Bug Description
It's in my guild system, I wrote a very simple script to make a function to get player's data and cauculate them. It works perfectly on my local test server, but today my player told me it
doesn't work. Here is error log and part of script:
error.log
function.txt
Expected Behavior
It will just get player's money and do other things, but the result is , lead to a broken return of function.
Steps to Reproduce
After players report to me, I reloaded skript and it's fine at begining, then they use the same command and it break down again. I've tested permission, player ID with underline or not, didn't find the cause.
Errors or Screenshots
The result should be like this:
But player's resule is this:
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: