-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bug where when zeroing out a players balance using Vault results
in a very tiny negative amount. If negative amounts are disabled by the underlying economy, then the withdrawal is disallowed and money can be duplicated. Fixed by rounding down balances so there's no way to end up negative.
- Loading branch information
tastybento
committed
Apr 10, 2014
1 parent
6fb9cc4
commit 7a7522d
Showing
2 changed files
with
117 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters