Add the amount of cells loaded to the loaded message.
This commit is contained in:
parent
bde63666bc
commit
e888467b66
@ -347,7 +347,7 @@ public class JailIO {
|
|||||||
|
|
||||||
if(pl.getServer().getWorld(j.getWorldName()) != null) {
|
if(pl.getServer().getWorld(j.getWorldName()) != null) {
|
||||||
pl.getJailManager().addJail(j, false);
|
pl.getJailManager().addJail(j, false);
|
||||||
pl.getLogger().info("Loaded jail " + j.getName() + " with " + j.getAllPrisoners().size() + " prisoners.");
|
pl.getLogger().info("Loaded jail " + j.getName() + " with " + j.getAllPrisoners().size() + " prisoners and " + j.getCellCount() + " cells.");
|
||||||
} else
|
} else
|
||||||
pl.getLogger().severe("Failed to load the jail " + j.getName() + " as the world '" + j.getWorldName() + "' does not exist (is null). Did you remove this world?");
|
pl.getLogger().severe("Failed to load the jail " + j.getName() + " as the world '" + j.getWorldName() + "' does not exist (is null). Did you remove this world?");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user