Removed Integer.MAX_VALUE (infinite max duration is already -1)

This commit is contained in:
bigguy345 committed 2025-04-28 10:41:36 +03:00
1 parent ae4b4c8702
commit 5dd2dad700
3 files changed
+5 -4

No files matched your search

@@ -27,7 +27,7 @@ public class ActionChain implements IActionChain {
task.accept(act);
act.markDone();
};
IAction a = scriptedActionManager.create("chain#" + (index++), Integer.MAX_VALUE, offset, wrapper);
IAction a = scriptedActionManager.create("chain#" + (index++), offset, wrapper);
a.setUpdateEveryXTick(1);
scriptedActionManager.scheduleAction(a);
return this;