Merge branch 'fix_possess_crash' into 'master'

fix_possess_crash

See merge request veloren/veloren!3786
This commit is contained in:
Isse 2023-01-31 17:18:52 +00:00
commit 0b9f518287

View File

@ -448,6 +448,7 @@ pub fn handle_possess(server: &mut Server, possessor_uid: Uid, possessee_uid: Ui
state.notify_players(remove_player_msg);
state.notify_players(add_player_msg);
}
drop(admins);
// Put possess item into loadout
let mut inventories = ecs.write_storage::<Inventory>();