-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
NPE on withdraw from vault and enderchest #170
Comments
@nikosgram |
This also happens when you have multiple vault chests and the withdrawal exceeds the amount that is in the first chest. Steps to reproduce (using 2.12.5 version on paper-1.20.4-365): Expected Result: Actual Result: I wanted try and dig into the code and try and fix this myself, but I need some Maven training. I can't even get it to compile. :( |
As for me it was helpful just to restrict enderchest use as vault, together with restriction for users to create own vaults. BTW I didn't have any problems with the build... but I couldn't fix it too) need to debug and lookup deeper into logic |
I'm sure the build is fine... I just don't know how to do it. :) |
Please try this test build https://github.com/weaves7/Gringotts/releases/tag/v.2.12.7-SNAPSHOT |
Got NPE while trying withdraw money from vault.
Precondition:
I`m using last 2.12.5 version
Steps to reproduce:
type /money withdraw 1022
Expected:
1022 will be transfered to inventory.
Actual:
All money in vault (1002) disappeared.
Nothing comes to inventory.
The text was updated successfully, but these errors were encountered: