mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Fix Counter#decrement recursive call (#5665)
This commit is contained in:
parent
240b858deb
commit
892b6002e4
@ -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…
Reference in New Issue
Block a user