All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.papermc.lib.features.asyncteleport.AsyncTeleportPaper_13 Maven / Gradle / Ivy

package io.papermc.lib.features.asyncteleport;

import org.bukkit.Location;
import org.bukkit.entity.Entity;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;

import java.util.concurrent.CompletableFuture;

public class AsyncTeleportPaper_13 implements AsyncTeleport {

    @Override
    public CompletableFuture teleportAsync(Entity entity, Location location, TeleportCause cause) {
        return entity.teleportAsync(location, cause);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy