This commit is contained in:
parent
ce97ad3c86
commit
82606023b3
2 changed files with 1 additions and 4 deletions
|
@ -27,8 +27,6 @@ public abstract class Setup {
|
||||||
public ArrayList<Runnable> steps = new ArrayList<>();
|
public ArrayList<Runnable> steps = new ArrayList<>();
|
||||||
public ArrayList<String> step_hints = new ArrayList<>();
|
public ArrayList<String> step_hints = new ArrayList<>();
|
||||||
|
|
||||||
public abstract void register();
|
|
||||||
|
|
||||||
public void run_step(){
|
public void run_step(){
|
||||||
if (!isActive)
|
if (!isActive)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -39,8 +39,7 @@ public class regionSetup extends Setup {
|
||||||
step_hints.add("Please enter region name (single word)...");
|
step_hints.add("Please enter region name (single word)...");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
public static void register() {
|
||||||
public void register() {
|
|
||||||
setupCreator.registerSetupCreator("region", regionSetup::new);
|
setupCreator.registerSetupCreator("region", regionSetup::new);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue