diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/ftbsc/bscv/modules/AbstractModule.java (renamed from src/main/java/ftbsc/bscv/modules/Module.java) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/Module.java b/src/main/java/ftbsc/bscv/modules/AbstractModule.java index 0f73a7a..b17f3b3 100644 --- a/src/main/java/ftbsc/bscv/modules/Module.java +++ b/src/main/java/ftbsc/bscv/modules/AbstractModule.java @@ -10,7 +10,7 @@ import net.minecraftforge.common.MinecraftForge; import static ftbsc.bscv.BoSCoVicino.log; -public abstract class Module { +public abstract class AbstractModule { public enum Group { SELF, HUD, @@ -66,7 +66,7 @@ public abstract class Module { public abstract void register(ForgeConfigSpec.Builder builder, CommandDispatcher<CommandSource> dispatcher); - protected Module(ForgeConfigSpec.Builder builder, CommandDispatcher<CommandSource> dispatcher) { + protected AbstractModule(ForgeConfigSpec.Builder builder, CommandDispatcher<CommandSource> dispatcher) { // TODO can this be done in a less magic way? String[] pkg = this.getClass().getPackage().getName().split("."); this.group = Group.valueOf(pkg[pkg.length-1].toUpperCase()); @@ -75,7 +75,7 @@ public abstract class Module { this.initialize(builder, dispatcher); } - public Module done(ForgeConfigSpec.Builder builder) { + public AbstractModule done(ForgeConfigSpec.Builder builder) { builder.pop(); return this; } |