Skip to content

Commit b54cb63

Browse files
committed
Add warning for dev builds of FoxLoader
1 parent 57fd570 commit b54cb63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

loader/src/main/java/com/fox2code/foxloader/loader/ModLoaderInit.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ public static void launchModdedServer(String[] args) throws Exception {
9494
}
9595

9696
private static void commonPreInitialize(boolean client) throws Exception {
97+
if (BuildConfig.IS_DEV_BUILD) {
98+
getModLoaderLogger().warning("This is a development build of FoxLoader.");
99+
}
97100
J_L_ClassLoader.setClassloaderName("FoxLoader", FoxLauncher.getFoxClassLoader());
98101
if (FoxLauncher.wantJAnsi()) {
99102
DependencyHelper.loadDependency(DependencyHelper.jansi);

0 commit comments

Comments
 (0)