From 2c8051ef0072537d4f6426b16e4c4f47b2344c89 Mon Sep 17 00:00:00 2001 From: alterwain Date: Sat, 12 Apr 2025 04:35:00 +0300 Subject: [PATCH] Changed action cards logic. x6 --- .../java/com/alterdekim/javabot/components/BunkerBot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/alterdekim/javabot/components/BunkerBot.java b/src/main/java/com/alterdekim/javabot/components/BunkerBot.java index 1eec95b..ddc2d4f 100644 --- a/src/main/java/com/alterdekim/javabot/components/BunkerBot.java +++ b/src/main/java/com/alterdekim/javabot/components/BunkerBot.java @@ -250,7 +250,7 @@ public class BunkerBot extends TelegramLongPollingBot { try { return HashUtils.getCRC32(s.getDeclaredConstructor().newInstance().getName().getBytes()).equals(data); } catch (Exception e) { - log.error(e.getMessage()); + e.printStackTrace(); } return false; } @@ -265,7 +265,7 @@ public class BunkerBot extends TelegramLongPollingBot { try { script.getDeclaredConstructor(BunkerBot.class, Player.class).newInstance(this, p).execute(); } catch (Exception e) { - log.error(e.getMessage()); + e.printStackTrace(); } }