Bump to v3.1, rewrite Teleport/TimedTeleport and add TeleportBuilder, expose new Teleport API, remove TeleportManager, minor database utility refactoring

This commit is contained in:
William committed 2022-10-18 17:45:44 +01:00
1 parent e7f8298b12
commit 9630e53613
35 files changed
+1070 -881

No files matched your search

@@ -101,7 +101,7 @@ public class BukkitPlayer extends OnlineUser {
}
@Override
public CompletableFuture<TeleportResult> teleport(@NotNull Location location, boolean asynchronous) {
public CompletableFuture<TeleportResult> teleportLocally(@NotNull Location location, boolean asynchronous) {
final Optional<org.bukkit.Location> bukkitLocation = BukkitAdapter.adaptLocation(location);
if (bukkitLocation.isEmpty()) {
return CompletableFuture.completedFuture(TeleportResult.FAILED_INVALID_WORLD);