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.EVENT
|
||||
|
||||
object FabricInit: Snowy(), ClientModInitializer {
|
||||
class FabricInit: Snowy(), ClientModInitializer {
|
||||
override fun onInitializeClient() {
|
||||
atInit()
|
||||
EVENT.register(
|
||||
|
|
Loading…
Reference in New Issue