From a3758184878ec42f6e6f6197db07374c55140707 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Fri, 14 Mar 2025 14:01:34 +0700 Subject: [PATCH] refactor: remove the exception logging from the previous commit's debug lines since it fills up the bot's log --- build-number.txt | 2 +- .../java/me/chayapak1/chomens_bot/chunk/ChunkColumn.java | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build-number.txt b/build-number.txt index a586f535..675db2ad 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -1780 \ No newline at end of file +1782 \ No newline at end of file diff --git a/src/main/java/me/chayapak1/chomens_bot/chunk/ChunkColumn.java b/src/main/java/me/chayapak1/chomens_bot/chunk/ChunkColumn.java index 1b7768b9..69b0146c 100644 --- a/src/main/java/me/chayapak1/chomens_bot/chunk/ChunkColumn.java +++ b/src/main/java/me/chayapak1/chomens_bot/chunk/ChunkColumn.java @@ -61,16 +61,19 @@ public class ChunkColumn { // passing bot just for debugging? really? bot.logger.error( Component.translatable( - "Failed to set block at %s %s %s with state %s!", + "Failed to set block at %s %s %s in chunk %s %s with state %s!", Component.text(x), Component.text(y), Component.text(z), + Component.text(pos.x()), + Component.text(pos.z()), + Component.text(id) ) ); - bot.logger.error(e); + // bot.logger.error(e); } } }