Merge branch 'animation-events' into dev

This commit is contained in:
Luis C.M. committed 2024-05-10 20:35:33 -05:00
commit 13987bdc39
33 files changed
+783 -209

No files matched your search

@@ -34,7 +34,7 @@ public class ClientTickHandler{
@SubscribeEvent(priority = EventPriority.LOWEST)
public void onClientTick(TickEvent.ClientTickEvent event){
Minecraft mc = Minecraft.getMinecraft();
if ((this.prevWorld == null || mc.theWorld == null) && this.prevWorld != mc.theWorld) {
if (mc.theWorld != null && this.prevWorld != mc.theWorld) {
ClientCacheHandler.clearCache();
this.prevWorld = mc.theWorld;
}