aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java
diff options
context:
space:
mode:
authorWyvest <wyvestbusiness@gmail.com>2023-03-11 23:33:50 +0700
committerWyvest <wyvestbusiness@gmail.com>2023-03-11 23:33:50 +0700
commitdfb1e462dfda561280ff862619e103bc05273026 (patch)
tree9ff5665ff97ead8e1e5880ca7ca0aa13b8f58da5 /src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java
parentd8a71de94f7fcbd237aafad3a6ef65ddc8712276 (diff)
downloadChatting-dfb1e462dfda561280ff862619e103bc05273026.tar.gz
Chatting-dfb1e462dfda561280ff862619e103bc05273026.tar.bz2
Chatting-dfb1e462dfda561280ff862619e103bc05273026.zip
fix delta time with hudcaching
Diffstat (limited to 'src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java')
-rw-r--r--src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java b/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java
index c87ec6f..448ba6e 100644
--- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java
+++ b/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin_Scrolling.java
@@ -40,7 +40,7 @@ public abstract class GuiNewChatMixin_Scrolling extends Gui {
}
chatting$scrollingAnimation = null;
} else {
- scrollPos = (int) chatting$scrollingAnimation.get(Chatting.INSTANCE.getDeltaTicks());
+ scrollPos = (int) chatting$scrollingAnimation.get(Chatting.INSTANCE.getDeltaTime());
}
}
}