Make FabricInit a class again
This commit is contained in:
parent
c9624c9762
commit
c8a55f8774
|
@ -7,7 +7,7 @@ import net.fabricmc.api.ClientModInitializer
|
||||||
import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback
|
import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback
|
||||||
import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback.EVENT
|
import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback.EVENT
|
||||||
|
|
||||||
object FabricInit: Snowy(), ClientModInitializer {
|
class FabricInit: Snowy(), ClientModInitializer {
|
||||||
override fun onInitializeClient() {
|
override fun onInitializeClient() {
|
||||||
atInit()
|
atInit()
|
||||||
EVENT.register(
|
EVENT.register(
|
||||||
|
|
Loading…
Reference in New Issue