Fix target world errors not being properly handled, Close #402

This commit is contained in:
William278 committed 2023-05-22 12:26:14 +01:00
1 parent e0961711e7
commit aeff866b48
2 files changed
+13 -2

No files matched your search

@@ -180,6 +180,7 @@ public abstract class OnlineUser extends User implements Teleportable, CommandUs
*
* @param location the {@link Location} to teleport the player to
* @param asynchronous if the teleport should be asynchronous
* @throws TeleportationException if the teleport fails
*/
public abstract void teleportLocally(@NotNull Location location, boolean asynchronous) throws TeleportationException;