Report when kotlin is missing or outdated
This commit is contained in:
parent
94097d428d
commit
5ab1f1806a
@ -101,14 +101,17 @@ public final class OverdriveThatMatters {
|
||||
checkIfKotlinIsInstalled();
|
||||
} catch (Throwable err) {
|
||||
if (err instanceof NoClassDefFoundError) {
|
||||
for (int i = 0; i < 8; i++)
|
||||
LOGGER.fatal("Overdrive That Matters requires Kotlin to be installed");
|
||||
for (int i = 0; i < 16; i++)
|
||||
LOGGER.fatal("Overdrive That Matters requires Kotlin to be installed, get Kotlin for Forge from https://github.com/thedarkcolour/KotlinForForge");
|
||||
|
||||
throw new RuntimeException("Overdrive That Matters requires Kotlin to be installed");
|
||||
LOGGER.fatal("Overdrive That Matters requires Kotlin to be installed, get Kotlin for Forge from https://github.com/thedarkcolour/KotlinForForge", err);
|
||||
throw new RuntimeException("Overdrive That Matters requires Kotlin to be installed, get Kotlin for Forge from https://github.com/thedarkcolour/KotlinForForge");
|
||||
}
|
||||
|
||||
for (int i = 0; i < 8; i++)
|
||||
LOGGER.fatal("Overdrive That Matters' Kotlin version is not satisfied", err);
|
||||
for (int i = 0; i < 16; i++)
|
||||
LOGGER.fatal("Overdrive That Matters' Kotlin version is not satisfied, get newer Kotlin for Forge from https://github.com/thedarkcolour/KotlinForForge");
|
||||
|
||||
LOGGER.fatal("Overdrive That Matters' Kotlin version is not satisfied, get newer Kotlin for Forge from https://github.com/thedarkcolour/KotlinForForge", err);
|
||||
|
||||
throw err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user