Changed action cards logic. x6

This commit is contained in:
Michael Wain 2025-04-12 04:35:00 +03:00
parent 67fa1076de
commit 2c8051ef00

View File

@ -250,7 +250,7 @@ public class BunkerBot extends TelegramLongPollingBot {
try { try {
return HashUtils.getCRC32(s.getDeclaredConstructor().newInstance().getName().getBytes()).equals(data); return HashUtils.getCRC32(s.getDeclaredConstructor().newInstance().getName().getBytes()).equals(data);
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage()); e.printStackTrace();
} }
return false; return false;
} }
@ -265,7 +265,7 @@ public class BunkerBot extends TelegramLongPollingBot {
try { try {
script.getDeclaredConstructor(BunkerBot.class, Player.class).newInstance(this, p).execute(); script.getDeclaredConstructor(BunkerBot.class, Player.class).newInstance(this, p).execute();
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage()); e.printStackTrace();
} }
} }