1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-16 18:31:53 +01:00

Fix Counter#decrement recursive call ()

This commit is contained in:
Emily 2021-05-17 15:19:02 -03:00
parent 240b858deb
commit 892b6002e4

View file

@ -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);