mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 13:25:10 +00:00
Fixed updateEveryXTicks being inconsistent due to using entity's ticksExisted. IAction instances now track their own tick
This commit is contained in:
1 parent
7e1374d96a
commit
e0c9bfffa5
8 files changed
+31
-34
No files matched your search
@@ -367,7 +367,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
combatHandler.update();
|
||||
onCollide();
|
||||
|
||||
actionManager.tick(ticksExisted);
|
||||
actionManager.tick();
|
||||
}
|
||||
|
||||
if (wasKilled != isKilled() && wasKilled) {
|
||||
|
||||
Reference in new issue
Block a user