From 6f88017ee17a6db4ea41e5ec22172b4e100c62ed Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 22 Jun 2023 00:20:49 -0700 Subject: [PATCH] Partial fix for flaky inventory tests --- crates/valence_inventory/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/valence_inventory/src/lib.rs b/crates/valence_inventory/src/lib.rs index f9fecc27f..4f274f6f3 100644 --- a/crates/valence_inventory/src/lib.rs +++ b/crates/valence_inventory/src/lib.rs @@ -54,8 +54,8 @@ impl Plugin for InventoryPlugin { .add_systems( PostUpdate, ( + update_client_on_close_inventory.before(update_open_inventories), update_open_inventories, - update_client_on_close_inventory.after(update_open_inventories), update_player_inventories, ) .before(FlushPacketsSet),