diff --git a/src/main/java/ovis/futureplots/commands/sub/BorderCommand.java b/src/main/java/ovis/futureplots/commands/sub/BorderCommand.java index c0350a2..1648241 100644 --- a/src/main/java/ovis/futureplots/commands/sub/BorderCommand.java +++ b/src/main/java/ovis/futureplots/commands/sub/BorderCommand.java @@ -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))