mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
Added render ticks option for frames, inherited from its animation parent if not customized.
This commit is contained in:
1 parent
f504424fd2
commit
5e5bf2eb1c
2 files changed
+19
-2
No files matched your search
@@ -87,7 +87,7 @@ public class ClientEventHandler {
|
||||
|
||||
if (data != null && data.isActive()) {
|
||||
Animation animation = data.animation;
|
||||
if (animation.renderTicks && data.isActive()) {
|
||||
if (data.isActive() && animation.currentFrame().useRenderTicks()) {
|
||||
animation.increaseTime();
|
||||
}
|
||||
}
|
||||
@@ -105,7 +105,7 @@ public class ClientEventHandler {
|
||||
|
||||
if (data != null && data.isActive()) {
|
||||
Animation animation = data.animation;
|
||||
if (!animation.renderTicks && data.isActive()) {
|
||||
if (data.isActive() && !animation.currentFrame().useRenderTicks()) {
|
||||
animation.increaseTime();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user