Skip to content

Commit

Permalink
Move permission override button to correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr committed Dec 13, 2022
1 parent dff7e23 commit f5bce3d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ else if (!townBlock.isForSale())
.slot(SlotAnchor.anchor(VerticalAnchor.fromTop(2), HorizontalAnchor.fromLeft(5)))
.action(ClickAction.openInventory(() -> formatPlotToggle(player, worldCoord)))
.build())
.addItem(MenuItem.builder(Material.STONE)
.addItem(MenuItem.builder(Material.GRAY_WOOL)
.name(text("Permission Overrides", GREEN))
.slot(SlotAnchor.anchor(VerticalAnchor.fromTop(1), HorizontalAnchor.fromRight(1)))
.lore(text("Click to view permission overrides for this plot.", GRAY))
.action(ClickAction.openInventory(() -> formatPlotPermissionOverrideMenu(player, worldCoord)))
.build())
Expand Down

0 comments on commit f5bce3d

Please sign in to comment.