feat: implement ICommons into AbstractModule
This commit is contained in:
parent
2fd25d4709
commit
4238d733e8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue