Skip to content

Commit

Permalink
[CORE] Make Equipment Menu aligned with all the other menus
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfieheart <[email protected]>
  • Loading branch information
Wolfieheart committed Dec 20, 2024
1 parent a2569d2 commit bb154ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private void openEquipment(ArmorStand armorStand) {
if (!getPlayer().hasPermission("asedit.equipment")) return;
//if (team != null && team.hasEntry(armorStand.getName())) return; //Do not allow editing if the ArmorStand is Disabled
equipMenu = new EquipmentMenu(this, armorStand);
equipMenu.open();
equipMenu.openMenu();
}

private void choosePreset(ArmorStand armorStand) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private ItemStack createIcon(Material mat, String slot) {
return icon;
}

public void open() {
public void openMenu() {
pe.getPlayer().closeInventory();
if (pe.getPlayer().hasPermission("asedit.equipment")) {
fillInventory();
Expand Down

0 comments on commit bb154ba

Please sign in to comment.