From 14b55a81f5957da687da9c5954c5b720b26109fa Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Mon, 26 Jan 2015 00:00:46 -0600 Subject: [PATCH] Fix the teleport free not sending them to the correct world. --- src/main/java/com/graywolf336/jail/JailIO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/graywolf336/jail/JailIO.java b/src/main/java/com/graywolf336/jail/JailIO.java index 56410b5..f791a91 100644 --- a/src/main/java/com/graywolf336/jail/JailIO.java +++ b/src/main/java/com/graywolf336/jail/JailIO.java @@ -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"),