From e8f7221ba8d72dafbd186ed4f84997feac4d2a57 Mon Sep 17 00:00:00 2001 From: "Larry (Wolfieheart)" Date: Fri, 20 Dec 2024 12:32:44 +0100 Subject: [PATCH] [CORE] One Line Higher Moving the closeEvent to be before the filling of the Inventory. you need to close and let the inventory save it's state before you go load the state back --- .../github/rypofalem/armorstandeditor/menu/EquipmentMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/rypofalem/armorstandeditor/menu/EquipmentMenu.java b/src/main/java/io/github/rypofalem/armorstandeditor/menu/EquipmentMenu.java index 43a28315..9266e3d7 100644 --- a/src/main/java/io/github/rypofalem/armorstandeditor/menu/EquipmentMenu.java +++ b/src/main/java/io/github/rypofalem/armorstandeditor/menu/EquipmentMenu.java @@ -92,8 +92,8 @@ private ItemStack createIcon(Material mat, String slot) { } public void open() { - fillInventory(); pe.getPlayer().closeInventory(); + fillInventory(); pe.getPlayer().openInventory(menuInv); }