mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-16 18:31:53 +01:00
Fix Counter#decrement recursive call (#5665)
This commit is contained in:
parent
240b858deb
commit
892b6002e4
1 changed files with 1 additions and 1 deletions
|
@ -2041,7 +2041,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ return increment(key, 1);
|
||||
+ }
|
||||
+ public long decrement(@Nullable T key, long amount) {
|
||||
+ return decrement(key, -amount);
|
||||
+ return increment(key, -amount);
|
||||
+ }
|
||||
+ public long increment(@Nullable T key, long amount) {
|
||||
+ Long count = this.getCount(key);
|
||||
|
|
Loading…
Add table
Reference in a new issue