From 386afc1079b833d47b333a423ff5f0d388eefbc0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 24 Dec 2020 06:55:47 +0000 Subject: [PATCH] Merge docs for 'clarify, or rather convolute the docs' --- docs/scarpet/Full.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index cae98c9d..73d12b78 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -4112,8 +4112,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