returnCargo
returnCargo(
writer,holder):CargoResult
Moves everything holder holds into the world’s recovery store, as
a leave, a disconnect, a respawn and a destroy do, and answers it. It
takes an entity’s writer, as a hook has: the goods reach recovery at
the next tick, and the custody save counts them there meanwhile. Never
inside transact, which cannot put them back.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
EntityAuthority |
holder |
Entity |