Add the amount of cells loaded to the loaded message.

This commit is contained in:
graywolf336 2013-12-28 12:01:56 -06:00
parent bde63666bc
commit e888467b66

View File

@ -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;