Only use the initSetup method on clients.
This commit is contained in:
parent
6bb1e6eac8
commit
61abfc3dc0
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue