Skip to content

Commit

Permalink
Fix another issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr committed Jul 1, 2023
1 parent 615eff6 commit 59d8da3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ else if (!isOwner)
if (!player.hasPermission(PermissionNodes.TOWNY_COMMAND_PLOT_SET_NAME.getNode()))
return of("msg-no-permission-to").append(of("plot-menu-clear-plot-name")).component(locale).color(GRAY);
else if (!isOwner)
return of("plot-menu-only-owner-clear-plot-name");
return of("plot-menu-only-owner-clear-plot-name").component(locale);
else return Component.empty();
})
.action(!isOwner || !player.hasPermission(PermissionNodes.TOWNY_COMMAND_PLOT_SET_NAME.getNode()) ? ClickAction.NONE : ClickAction.confirmation(() -> text("Click to confirm removing the plot's name.", GRAY), ClickAction.run(() -> {
Expand Down

0 comments on commit 59d8da3

Please sign in to comment.