From 8dfc52dd1578cd58a22681ab86fc6517f9807a0d Mon Sep 17 00:00:00 2001 From: themode Date: Sat, 12 Dec 2020 10:29:38 +0100 Subject: [PATCH] Added indication on IOException with the resource gatherer --- .../java/net/minestom/server/registry/ResourceGatherer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/registry/ResourceGatherer.java b/src/main/java/net/minestom/server/registry/ResourceGatherer.java index 9a0aa1fd9..2c993c237 100644 --- a/src/main/java/net/minestom/server/registry/ResourceGatherer.java +++ b/src/main/java/net/minestom/server/registry/ResourceGatherer.java @@ -107,7 +107,7 @@ public class ResourceGatherer { try { int resultCode = dataGeneratorProcess.waitFor(); if (resultCode != 0) { - throw new IOException("Data generator finished with non-zero return code " + resultCode); + throw new IOException("Data generator finished with non-zero return code " + resultCode + " verify that you have 'java' cli"); } } catch (InterruptedException e) { throw new IOException("Data generator was interrupted.", e);