mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-19 15:57:37 +01:00
crash if submod dont load correctly
This commit is contained in:
parent
e2fe610288
commit
a2693aafce
@ -9,7 +9,7 @@ public class ViaFabric implements ModInitializer {
|
||||
if (FabricLoader.getInstance().getAllMods()
|
||||
.stream()
|
||||
.noneMatch(it -> it.getMetadata().getId().startsWith("viafabric-mc"))) {
|
||||
System.out.println("ViaFabric didn't load correctly... Are dependencies installed?");
|
||||
throw new IllegalStateException("ViaFabric sub-mod didn't load correctly. Check if required dependencies are installed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user