mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 22:19:40 +00:00
Removed Integer.MAX_VALUE (infinite max duration is already -1)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user