mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 22:02:17 +00:00
IActionQueue ticking Optimisations
This commit is contained in:
1 parent
3e6b37ac05
commit
25ab7b2f71
2 files changed
+18
-19
No files matched your search
@@ -265,6 +265,9 @@ public class Action implements IAction {
|
||||
if (duration == 0 && onStart != null)
|
||||
execute("start", this::executeOnStart);
|
||||
|
||||
if (done)
|
||||
return;
|
||||
|
||||
duration++;
|
||||
|
||||
if (startAfterTicks > 0) {
|
||||
|
||||
Reference in new issue
Block a user