diff --git a/docs/scarpet/api/Events.md b/docs/scarpet/api/Events.md index ac3da637..e3888543 100644 --- a/docs/scarpet/api/Events.md +++ b/docs/scarpet/api/Events.md @@ -160,8 +160,10 @@ about players death and applying external effects (like mob anger etc). ### `__on_player_respawns(player)` Triggered when a player respawns. This includes spawning after death, or landing in the overworld after leaving the end. -When the event is handled, a player is still in its previous location and dimension - will be repositioned right after. - +When the event is handled, a player is still in its previous location and dimension - will be repositioned right after. In +case player died, its previous inventory as already been scattered, and its current inventory will not be copied to the respawned +entity, so any manipulation to player data is +best to be scheduled at the end of the tick, but you can still use its current reference to query its status as of the respawn event. ### `__on_player_changes_dimension(player, from_pos, from_dimension, to_pos, to_dimension)` Called when a player moves from one dimension to another. Event is handled still when the player is in its previous