Fix the loading of the cells being really messed up.

This commit is contained in:
graywolf336 2013-12-28 12:12:57 -06:00
parent 359192a655
commit 546131dd77

View File

@ -287,7 +287,7 @@ public class JailIO {
if(!cells.isEmpty()) { if(!cells.isEmpty()) {
for(String cell : cells) { for(String cell : cells) {
Cell c = new Cell(cell); Cell c = new Cell(cell);
String cellNode = cNode + "cell."; String cellNode = cNode + cell + ".";
c.setTeleport(new SimpleLocation(j.getTeleportIn().getWorld().getName(), c.setTeleport(new SimpleLocation(j.getTeleportIn().getWorld().getName(),
flat.getDouble(cellNode + "tp.x"), flat.getDouble(cellNode + "tp.x"),