mirror of
https://github.com/GTNewHorizons/JustEnoughCalculation.git
synced 2026-11-28 07:35:41 +00:00
chore: cherry pick 1.16 updates
This commit is contained in:
1 parent
21eb93ea01
commit
c88415241f
29 files changed
+273
-175
No files matched your search
@@ -214,7 +214,7 @@ public class Utilities {
|
||||
public Circulator move(int steps) {
|
||||
current += steps;
|
||||
if (current < 0)
|
||||
current += (-current) / total * total + total;
|
||||
current += (total - current - 1) / total * total;
|
||||
else
|
||||
current = current % total;
|
||||
return this;
|
||||
|
||||
Reference in new issue
Block a user