Attempt to fix #592

Should teleport the player before chunks/world are sent to the player
This commit is contained in:
Gabriele C 2017-09-03 02:43:34 +02:00
parent 2fbdd46919
commit 9e28700acf

View File

@ -155,7 +155,7 @@ public class TeleportationService implements Reloadable {
* @param event the event to emit and according to which to teleport
*/
private void performTeleportation(final Player player, final AbstractTeleportEvent event) {
bukkitService.scheduleSyncDelayedTask(new Runnable() {
bukkitService.scheduleSyncTaskFromOptionallyAsyncTask(new Runnable() {
@Override
public void run() {
bukkitService.callEvent(event);