Skip to content

Commit

Permalink
Fix border reset
Browse files Browse the repository at this point in the history
  • Loading branch information
tim03we committed Dec 15, 2024
1 parent 393f753 commit 3bc0a2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void execute(CommandSender sender, String command, String[] args) {

if(entry.isDefault()) {
for(Plot mergedPlot : plotManager.getConnectedPlots(plot))
plotManager.changeBorder(mergedPlot, plotManager.getLevelSettings().getClaimPlotState());
plotManager.changeBorder(mergedPlot, (plot.hasOwner() ? plotManager.getLevelSettings().getClaimPlotState() : plotManager.getLevelSettings().getWallPlotState()));
player.sendMessage(this.translate(player, TranslationKey.BORDER_RESET_TO_DEFAULT_SUCCESS));
} else {
for(Plot mergedPlot : plotManager.getConnectedPlots(plot))
Expand Down

0 comments on commit 3bc0a2b

Please sign in to comment.