Fix the teleport free not sending them to the correct world.

This commit is contained in:
graywolf336 2015-01-26 00:00:46 -06:00
parent c65ca2b0ff
commit 14b55a81f5

View File

@ -609,7 +609,7 @@ public class JailIO {
(float) flat.getDouble(node + "tps.in.yaw"),
(float) flat.getDouble(node + "tps.in.pitch")));
j.setTeleportFree(new Location(
pl.getServer().getWorld(flat.getString(node + "world")),
pl.getServer().getWorld(flat.getString(node + "tps.free.world")),
flat.getDouble(node + "tps.free.x"),
flat.getDouble(node + "tps.free.y"),
flat.getDouble(node + "tps.free.z"),