diff --git a/src/main/java/com/minelittlepony/client/MineLittlePony.java b/src/main/java/com/minelittlepony/client/MineLittlePony.java index 008aa22e..a8360af9 100644 --- a/src/main/java/com/minelittlepony/client/MineLittlePony.java +++ b/src/main/java/com/minelittlepony/client/MineLittlePony.java @@ -16,8 +16,8 @@ import com.minelittlepony.common.util.GamePaths; import com.minelittlepony.settings.PonyConfig; import net.fabricmc.api.ClientModInitializer; +import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents; import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper; -import net.fabricmc.fabric.api.event.client.ClientTickCallback; import net.fabricmc.fabric.api.resource.ResourceManagerHelper; import net.fabricmc.loader.api.FabricLoader; import net.minecraft.client.MinecraftClient; @@ -78,7 +78,7 @@ public class MineLittlePony implements ClientModInitializer { // general events ClientReadyCallback.Handler.register(); - ClientTickCallback.EVENT.register(this::onTick); + ClientTickEvents.END_CLIENT_TICK.register(this::onTick); ClientReadyCallback.EVENT.register(this::onClientReady); ScreenInitCallback.EVENT.register(this::onScreenInit); config.ponyskulls.onChanged(PonySkullRenderer::resolve);