mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Remove deprecated api reference
This commit is contained in:
parent
915ad3dd03
commit
8cca01effc
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue