Fixed some issues with animations not continuing when they should

This commit is contained in:
luisc committed 2025-02-12 13:16:39 -06:00
1 parent 3b9c38124e
commit 0418aa11e4
5 files changed
+33 -16

No files matched your search

@@ -39,7 +39,9 @@ public class ClientTickHandler{
public void onClientTick(TickEvent.ClientTickEvent event){
Minecraft mc = Minecraft.getMinecraft();
if ((this.prevWorld == null || mc.theWorld == null) && this.prevWorld != mc.theWorld) {
ClientCacheHandler.clearCache();
if (mc.theWorld == null) {
ClientCacheHandler.clearCache();
}
this.prevWorld = mc.theWorld;
}
if(event.phase == Phase.END) {