mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Ensure player is dismounted before teleport, fix #496
This commit is contained in:
1 parent
e579b2b05e
commit
2145d6925f
3 files changed
+3
No files matched your search
@@ -131,6 +131,7 @@ public class FabricUser extends OnlineUser {
|
||||
throw new TeleportationException(TeleportationException.Type.ILLEGAL_TARGET_COORDINATES, plugin);
|
||||
}
|
||||
|
||||
player.dismountVehicle();
|
||||
FabricDimensions.teleport(
|
||||
player,
|
||||
server.getWorld(server.getWorldRegistryKeys().stream()
|
||||
|
||||
Reference in new issue
Block a user