Sponge
Sponge copied to clipboard
Fix multiple RespawnPlayerEvents issues
- New player instance was not captured properly (
Recreate#entity()
andRecreate#recreatedPlayer()
were returning the same object). -
Recreate#setDestinationPosition(Vector3d)
was ignored (consequence of 1. ). -
SelectWorld#setDestinationWorld()
was ignored. -
Post#originalDestinationWorld()
andPost#destinationWorld()
were returning incorrect values. - API
ServerPlayer#respawn()
was not firingSelectWorld
but onlyRecreate
andPost
events.