mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 17:16:11 +00:00
Fixes #106
This commit is contained in:
parent
ed9ae5a6ab
commit
ee630b9236
@ -168,7 +168,7 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
|||||||
Extent extent = loc.getExtent();
|
Extent extent = loc.getExtent();
|
||||||
if (extent instanceof World) {
|
if (extent instanceof World) {
|
||||||
org.bukkit.World world = Bukkit.getWorld(((World) extent).getName());
|
org.bukkit.World world = Bukkit.getWorld(((World) extent).getName());
|
||||||
System.out.println("Teleport to world " + world);
|
// System.out.println("Teleport to world " + world);
|
||||||
player.teleport(new Location(world, pos.getX(), pos.getY(),
|
player.teleport(new Location(world, pos.getX(), pos.getY(),
|
||||||
pos.getZ(), yaw, pitch));
|
pos.getZ(), yaw, pitch));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user