Created base config class.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package dev.micle.xptools.proxy;
|
||||
|
||||
import dev.micle.xptools.XpTools;
|
||||
import dev.micle.xptools.config.Config;
|
||||
import dev.micle.xptools.events.common.OnBlockBreakEventHandler;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
@ -18,6 +19,8 @@ public class Proxy implements IProxy {
|
||||
|
||||
// Common setup
|
||||
public Proxy() {
|
||||
Config.register();
|
||||
|
||||
// Register mod event bus listeners
|
||||
IEventBus modEventBus = XpTools.getFMLJavaModLoadingContext().getModEventBus();
|
||||
modEventBus.addListener(Proxy::setup);
|
||||
|
Reference in New Issue
Block a user