diff --git a/Core/src/main/java/com/plotsquared/core/command/Claim.java b/Core/src/main/java/com/plotsquared/core/command/Claim.java index 28fa18d55..fa5639b71 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Claim.java +++ b/Core/src/main/java/com/plotsquared/core/command/Claim.java @@ -175,8 +175,7 @@ public class Claim extends SubCommand { try { TaskManager.getPlatformImplementation().sync(() -> { if (!plot.claim(player, true, finalSchematic, false)) { - logger.info(TranslatableCaption.of("") + String - .format("Failed to claim plot %s", plot.getId().toCommaSeparatedString())); + logger.info("[P2] Failed to claim plot {}", plot.getId().toCommaSeparatedString()); player.sendMessage(TranslatableCaption.of("working.plot_not_claimed")); plot.setOwnerAbs(null); } else if (area.isAutoMerge()) { @@ -197,9 +196,7 @@ public class Claim extends SubCommand { e.printStackTrace(); } }, () -> { - logger.info(TranslatableCaption.of("") + String - .format("Failed to add plot %s to the database", - plot.getId().toCommaSeparatedString())); + logger.info("[P2] Failed to add plot to database: {}", plot.getId().toCommaSeparatedString()); player.sendMessage(TranslatableCaption.of("working.plot_not_claimed")); plot.setOwnerAbs(null); });