feat: implement ICommons into AbstractModule

This commit is contained in:
əlemi 2023-03-11 22:41:49 +01:00
parent 2fd25d4709
commit 4238d733e8
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -3,6 +3,7 @@ package ftbsc.bscv.modules;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.BoolArgumentType; import com.mojang.brigadier.arguments.BoolArgumentType;
import ftbsc.bscv.Boscovicino; import ftbsc.bscv.Boscovicino;
import ftbsc.bscv.ICommons;
import ftbsc.bscv.api.IModule; import ftbsc.bscv.api.IModule;
import net.minecraft.command.CommandSource; import net.minecraft.command.CommandSource;
import net.minecraft.command.Commands; import net.minecraft.command.Commands;
@ -10,7 +11,7 @@ import net.minecraftforge.common.ForgeConfigSpec;
import static ftbsc.bscv.Boscovicino.log; import static ftbsc.bscv.Boscovicino.log;
public abstract class AbstractModule implements IModule { public abstract class AbstractModule implements IModule, ICommons {
protected ForgeConfigSpec.ConfigValue<Boolean> enabled; protected ForgeConfigSpec.ConfigValue<Boolean> enabled;
@Override @Override