add logger error when game not found
This commit is contained in:
parent
a2b632bf2d
commit
31480081bf
|
@ -35,6 +35,7 @@ public class Minecraft implements NonsensePlugin {
|
||||||
public boolean init(LoaderImpl loader) {
|
public boolean init(LoaderImpl loader) {
|
||||||
Path gameJar = findGame();
|
Path gameJar = findGame();
|
||||||
if (gameJar == null){
|
if (gameJar == null){
|
||||||
|
LOGGER.error("Could not find game jar!");
|
||||||
return false;
|
return false;
|
||||||
//throw new IllegalStateException("Could not find game jar!");
|
//throw new IllegalStateException("Could not find game jar!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue