summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author alemi <me@alemi.dev>2023-03-11 22:41:49 +0100
committer alemi <me@alemi.dev>2023-03-11 22:41:49 +0100
commit4238d733e88d4f68f6c0542c3a050e6a88ca6482 (patch)
treec294256c8293754727f721955ed3c7c680c2d7df
parent2fd25d470948451fbef7302c6a6ed8eebfea6911 (diff)
feat: implement ICommons into AbstractModule
-rw-r--r--src/main/java/ftbsc/bscv/modules/AbstractModule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/AbstractModule.java b/src/main/java/ftbsc/bscv/modules/AbstractModule.java
index fc0542f..7315ebc 100644
--- a/src/main/java/ftbsc/bscv/modules/AbstractModule.java
+++ b/src/main/java/ftbsc/bscv/modules/AbstractModule.java
@@ -3,6 +3,7 @@ package ftbsc.bscv.modules;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.BoolArgumentType;
import ftbsc.bscv.Boscovicino;
+import ftbsc.bscv.ICommons;
import ftbsc.bscv.api.IModule;
import net.minecraft.command.CommandSource;
import net.minecraft.command.Commands;
@@ -10,7 +11,7 @@ import net.minecraftforge.common.ForgeConfigSpec;
import static ftbsc.bscv.Boscovicino.log;
-public abstract class AbstractModule implements IModule {
+public abstract class AbstractModule implements IModule, ICommons {
protected ForgeConfigSpec.ConfigValue<Boolean> enabled;
@Override