diff --git a/Core/src/main/java/com/plotsquared/core/command/ListCmd.java b/Core/src/main/java/com/plotsquared/core/command/ListCmd.java index ba12d6f73..c5707ab62 100644 --- a/Core/src/main/java/com/plotsquared/core/command/ListCmd.java +++ b/Core/src/main/java/com/plotsquared/core/command/ListCmd.java @@ -204,7 +204,7 @@ public class ListCmd extends SubCommand { return false; } if (!Permissions.hasPermission(player, "plots.list.world." + world)) { - player.sendMessage(TranslatableCaption.of("permission.no_permission"), Templates.of("node", "plots.list.world" + world)); + player.sendMessage(TranslatableCaption.of("permission.no_permission"), Templates.of("node", "plots.list.world." + world)); return false; } plotConsumer.accept(PlotQuery.newQuery().inWorld(world)); @@ -226,7 +226,7 @@ public class ListCmd extends SubCommand { return false; } if (!Permissions.hasPermission(player, "plots.list.world." + world)) { - player.sendMessage(TranslatableCaption.of("permission.no_permission"), Templates.of("node", "plots.list.world" + world)); + player.sendMessage(TranslatableCaption.of("permission.no_permission"), Templates.of("node", "plots.list.world." + world)); return false; } if (area == null) { diff --git a/Core/src/main/java/com/plotsquared/core/plot/Plot.java b/Core/src/main/java/com/plotsquared/core/plot/Plot.java index 7673badb4..a71167a79 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/Plot.java +++ b/Core/src/main/java/com/plotsquared/core/plot/Plot.java @@ -1605,7 +1605,7 @@ public class Plot { updateWorldBorder(); } this.getPlotModificationManager().setSign(player.getName()); - player.sendMessage(TranslatableCaption.of("working.claimed")); + player.sendMessage(TranslatableCaption.of("working.claimed"), Template.of("plot", String.valueOf(this.getId()))); if (teleport && Settings.Teleport.ON_CLAIM) { teleportPlayer(player, TeleportCause.COMMAND, result -> { });