More precise error WorldUtil
This commit is contained in:
parent
ecc9932f5e
commit
a39f3d8143
@ -55,7 +55,7 @@ public class WorldUtil {
|
|||||||
|
|
||||||
String[] fileList = file.list();
|
String[] fileList = file.list();
|
||||||
if (fileList == null) {
|
if (fileList == null) {
|
||||||
throw new IllegalStateException("The provided world '" + world + "' does not hae a valid region folder.");
|
throw new IllegalStateException("The provided world '" + world + "' does not have a valid region folder (expected '" + file + "').");
|
||||||
}
|
}
|
||||||
|
|
||||||
return Arrays.stream(fileList)
|
return Arrays.stream(fileList)
|
||||||
|
Loading…
Reference in New Issue
Block a user