Make the world not existing message to be more user friendly.
This commit is contained in:
parent
b780f4a483
commit
fdfd0bb2c9
@ -608,7 +608,7 @@ public class JailIO {
|
|||||||
j.setMinPoint(new int[] {flat.getInt(node + "bottom.x"), flat.getInt(node + "bottom.y"), flat.getInt(node + "bottom.z")});
|
j.setMinPoint(new int[] {flat.getInt(node + "bottom.x"), flat.getInt(node + "bottom.y"), flat.getInt(node + "bottom.z")});
|
||||||
|
|
||||||
if(j.getWorld() == null) {
|
if(j.getWorld() == null) {
|
||||||
pl.getLogger().severe("Failed to load the jail, " + name + ", because the world " + j.getWorldName() + " is null.");
|
pl.getLogger().severe("Failed to load the jail, " + name + ", because the world " + j.getWorldName() + " doesn't exist (is null).");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user