Only use the initSetup method on clients.

This commit is contained in:
Username404-59 2021-04-09 15:22:24 +02:00
parent 6bb1e6eac8
commit 61abfc3dc0
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import java.util.function.Supplier
@Mod("snowygui")
class ForgeInit: Snowy() {
private fun initSetup(event: FMLCommonSetupEvent) = atInit()
private fun initSetup(event: FMLClientSetupEvent) = atInit()
private fun configSetup(event: FMLClientSetupEvent) {
ModLoadingContext.get().registerExtensionPoint(
ExtensionPoint.CONFIGGUIFACTORY,