mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
parent
d3ff4131a3
commit
72269e08e6
@ -203,7 +203,8 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
|||||||
world = Bukkit.getWorld(((World) extent).getName());
|
world = Bukkit.getWorld(((World) extent).getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return player.teleport(new Location(world, pos.getX(), pos.getY(), pos.getZ(), yaw, pitch));
|
org.bukkit.World finalWorld = world;
|
||||||
|
return TaskManager.IMP.sync(() -> player.teleport(new Location(finalWorld, pos.getX(), pos.getY(), pos.getZ(), yaw, pitch)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user