Mark as client-only
This commit is contained in:
parent
8956f7ea35
commit
7283415885
@ -2,12 +2,13 @@ package io.gitlab.jfronny.translater;
|
||||
|
||||
import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
|
||||
import me.sargunvohra.mcmods.autoconfig1u.serializer.JanksonConfigSerializer;
|
||||
import net.fabricmc.api.ClientModInitializer;
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
import org.apache.logging.log4j.Level;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
public class ModInit implements ModInitializer {
|
||||
public class ModInit implements ClientModInitializer {
|
||||
public static final String MOD_NAME = "translater";
|
||||
public static final String MOD_ID = "translater";
|
||||
private static final Logger logger = LogManager.getFormatterLogger(MOD_ID);
|
||||
@ -27,7 +28,7 @@ public class ModInit implements ModInitializer {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
public void onInitializeClient() {
|
||||
Log("Loaded translater");
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
"main": [
|
||||
"client": [
|
||||
"io.gitlab.jfronny.translater.ModInit"
|
||||
],
|
||||
"modmenu": [
|
||||
@ -39,6 +39,7 @@
|
||||
"modupdater": {
|
||||
"strategy": "curseforge",
|
||||
"projectID": 394823
|
||||
}
|
||||
},
|
||||
"modmenu:clientsideOnly": true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user