Skip to content

Fix teleportation bug when player is riding an entity#285

Open
heyxmirko wants to merge 2 commits intodumbo-the-developer:masterfrom
heyxmirko:fix/teleport-vehicle-bug
Open

Fix teleportation bug when player is riding an entity#285
heyxmirko wants to merge 2 commits intodumbo-the-developer:masterfrom
heyxmirko:fix/teleport-vehicle-bug

Conversation

@heyxmirko
Copy link
Contributor

Fixes an issue where player riding entities (horse, boats, etc..) would receive duel kit items but fail to teleport to the arena.
This fix ensures players are ejected from any vehicle they are riding.

@CAJIO
Copy link

CAJIO commented Mar 22, 2026

One more check should be added:
if (player.isSleeping()) {
player.wakeup(false);
}

@GG-MD
Copy link
Contributor

GG-MD commented Mar 22, 2026

mdams

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants