Remove deprecated api reference

This commit is contained in:
Sollace 2021-03-07 17:46:09 +02:00
parent 915ad3dd03
commit 8cca01effc

View file

@ -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);