Fix the teleport free not sending them to the correct world.
This commit is contained in:
parent
c65ca2b0ff
commit
14b55a81f5
@ -609,7 +609,7 @@ public class JailIO {
|
|||||||
(float) flat.getDouble(node + "tps.in.yaw"),
|
(float) flat.getDouble(node + "tps.in.yaw"),
|
||||||
(float) flat.getDouble(node + "tps.in.pitch")));
|
(float) flat.getDouble(node + "tps.in.pitch")));
|
||||||
j.setTeleportFree(new Location(
|
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.x"),
|
||||||
flat.getDouble(node + "tps.free.y"),
|
flat.getDouble(node + "tps.free.y"),
|
||||||
flat.getDouble(node + "tps.free.z"),
|
flat.getDouble(node + "tps.free.z"),
|
||||||
|
Loading…
Reference in New Issue
Block a user