This commit is contained in:
NotMyFault 2019-04-07 01:38:25 +02:00 committed by GitHub
parent ed9ae5a6ab
commit ee630b9236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
} }