Skip to content

Commit

Permalink
MinModCore
Browse files Browse the repository at this point in the history
  • Loading branch information
MinRi2 committed Feb 13, 2024
1 parent 9c31ddb commit 1b093ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apply plugin: "java"

group = 'com.github.MinRi2'
version = '1.0'

sourceSets.main.java.srcDirs = ["src"]

Expand All @@ -13,7 +12,7 @@ java{
ext{
//the build number that this mod is made for
mindustryVersion = 'v146'
minModCoreVersion = "99333d162a"
minModCoreVersion = "e5020ddbf4"
jabelVersion = "93fde537c7"

//windows sucks
Expand Down
3 changes: 2 additions & 1 deletion src/MinerTools/MinerTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ public MinerTools(){
Events.on(ClientLoadEvent.class, e -> {
new ModUpdater(MinerVars.modName).checkUpdate();

MStats.init();
MinerVars.init();

MStats.init();

Modules.init();

Expand Down
4 changes: 2 additions & 2 deletions src/MinerTools/MinerVars.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public class MinerVars{

public static void init(){
settings = MinModSettings.registerSettings(modName);
migrateOldSettings();

ui = new MUI();

desktop = app.isDesktop();
Expand All @@ -32,11 +34,9 @@ public static void init(){
initBindings();
}

settings.init();
ui.init();

betterSchemeSize();
migrateOldSettings();
}

public static void betterSchemeSize(){
Expand Down

0 comments on commit 1b093ff

Please sign in to comment.