Correctly load the world's jail.
This commit is contained in:
parent
677d006978
commit
f33d6a0c45
@ -178,7 +178,7 @@ public class JailIO {
|
|||||||
String cNode = node + "cells.";
|
String cNode = node + "cells.";
|
||||||
Jail j = new Jail(pl, name);
|
Jail j = new Jail(pl, name);
|
||||||
|
|
||||||
j.setWorld(node + "world");
|
j.setWorld(flat.getString(node + "world"));
|
||||||
j.setMaxPoint(new int[] {flat.getInt(node + "top.x"), flat.getInt(node + "top.y"), flat.getInt(node + "top.z")});
|
j.setMaxPoint(new int[] {flat.getInt(node + "top.x"), flat.getInt(node + "top.y"), flat.getInt(node + "top.z")});
|
||||||
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")});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user