mcpvp-club / pvp-club

Official bug/suggestions tracker for the mcpvp.club network
0 stars 0 forks source link

Player is sometimes sent to spawn instantly when they die in a duel #2

Closed Jyguy closed 3 months ago

Jyguy commented 5 months ago

Describe the bug

Very rarely, when a player dies they are immediately set to spawn.

The death is tracked properly as the spectator items are put into the inventory a tick before the teleport happens.

Expected behavior

The player should stay in the location that they died in.

To reproduce

Unknown, occurs rarely on duel death

Server region

No response

Additional context

No response

Checklist

Jyguy commented 3 months ago

This is caused by right-clicking the 9th slot in the hotbar during the one tick that you have the spectator inventory for at the end of the duel.