diff --git a/Core/src/main/java/com/plotsquared/core/command/Cluster.java b/Core/src/main/java/com/plotsquared/core/command/Cluster.java index a9008244c..2fdd48d26 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Cluster.java +++ b/Core/src/main/java/com/plotsquared/core/command/Cluster.java @@ -150,7 +150,10 @@ public class Cluster extends SubCommand { player.getClusterCount() : player.getPlotCount(player.getLocation().getWorldName()); if (currentClusters >= player.getAllowedPlots()) { - player.sendMessage(TranslatableCaption.of("permission.cant_claim_more_clusters")); + player.sendMessage( + TranslatableCaption.of("permission.cant_claim_more_clusters"), + Template.of("amount", String.valueOf(player.getAllowedPlots())) + ); } PlotId pos1; PlotId pos2; diff --git a/Core/src/main/java/com/plotsquared/core/command/Condense.java b/Core/src/main/java/com/plotsquared/core/command/Condense.java index b5b07646c..e758d3c0b 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Condense.java +++ b/Core/src/main/java/com/plotsquared/core/command/Condense.java @@ -164,7 +164,7 @@ public class Condense extends SubCommand { @Override public void run() { if (!Condense.TASK) { - player.sendMessage(TranslatableCaption.of("condense.task_cancelled")); + player.sendMessage(TranslatableCaption.of("debugexec.task_cancelled")); } if (allPlots.isEmpty()) { Condense.TASK = false; @@ -218,7 +218,7 @@ public class Condense extends SubCommand { } case "stop": if (!Condense.TASK) { - player.sendMessage(TranslatableCaption.of("condense.task_already_stopped")); + player.sendMessage(TranslatableCaption.of("condense.task_stopped")); return false; } Condense.TASK = false; diff --git a/Core/src/main/java/com/plotsquared/core/command/DebugExec.java b/Core/src/main/java/com/plotsquared/core/command/DebugExec.java index 3c7732e28..bdb60a68d 100644 --- a/Core/src/main/java/com/plotsquared/core/command/DebugExec.java +++ b/Core/src/main/java/com/plotsquared/core/command/DebugExec.java @@ -331,7 +331,7 @@ public class DebugExec extends SubCommand { return false; } HybridUtils.UPDATE = false; - player.sendMessage(TranslatableCaption.of("debugexec.cancelling_task")); + player.sendMessage(TranslatableCaption.of("debugexec.task_cancelled")); return true; case "start-expire": if (ExpireManager.IMP == null) { diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index 7cc687f7f..d074f5775 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -177,7 +177,7 @@ "permission.no_permission_event": "You are lacking the permission node: .", "permission.no_plot_perms": "You must be the plot owner to perform this action.", "permission.cant_claim_more_plots": "You can't claim more than plots.", - "permission.cant_claim_more_clusters": "You can't claim more clusters.", + "permission.cant_claim_more_clusters": "You can't claim more than clusters.", "permission.cant_transfer_more_plots": "You can't send more plots to that user.", "permission.cant_claim_more_plots_num": "You can't claim more than plots at once.", "merge.merge_request_confirm": "Merge request from .", @@ -211,12 +211,10 @@ "condense.radius_too_small": "Radius too small.", "condense.no_free_plots_found": "No free plots found.", "condense.task_started": "Task started...", - "condense.task_cancelled": "Task cancelled.", "condense.task_complete": "Task complete. Please verify that no new plots have been claimed during the task.", "condense.moving": "Moving: -> ", "condense.task_failed": "Task failed. No free plots found.", "condense.skipping": "Skipping complex plot: .", - "condense.task_already_stopped": "Task already stopped.", "condense.task_stopped": "Task already stopped.", "condense.default_eval": "=== DEFAULT EVAL ===", "condense.minimum_radius": "Minimum radius: ", @@ -244,7 +242,6 @@ "debugexec.threshold_default_double": " = The percentage of plots you want to clear as a number between 0 - 100.", "debugexec.calibration_done": "Thank you for calibrating plot expiry.", "debugexec.task_halted": "Task already halted.", - "debugexec.cancelling_task": "Task cancelled.", "debugexec.task_cancelled": "Task cancelled.", "debugexec.cleared_flag": "Cleared flag: ", "debugexec.mass_schematic_update_in_progress": "Cannot schedule mass schematic update. (Is one already in progress?)",