mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
Fix logger.info format
This commit is contained in:
parent
86cfeb76b6
commit
b6e7f90f6a
@ -175,8 +175,7 @@ public class Claim extends SubCommand {
|
||||
try {
|
||||
TaskManager.getPlatformImplementation().sync(() -> {
|
||||
if (!plot.claim(player, true, finalSchematic, false)) {
|
||||
logger.info(TranslatableCaption.of("<prefix>") + 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("<prefix>") + 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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user