mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 14:38:53 +00:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user