More precise error WorldUtil

This commit is contained in:
Marc Baloup 2024-01-21 00:32:08 +01:00
parent ecc9932f5e
commit a39f3d8143

View File

@ -55,7 +55,7 @@ public class WorldUtil {
String[] fileList = file.list();
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)