From c645c2ec9aeeb2cd1054890ee35fc8f7cfd88132 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 3 Aug 2025 19:26:35 +0700 Subject: [PATCH] fix: actually make that self care commit work with op self care (took SO LONG to figure out and lots of debugging) it was just that debug samples don't get sent anymore when you are deopped, so i just made the local ticker dispatch when the bot isn't op --- build-number.txt | 2 +- src/main/java/me/chayapak1/chomens_bot/plugins/TickPlugin.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-number.txt b/build-number.txt index c9667be0..9abe90ae 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -3525 \ No newline at end of file +3548 \ No newline at end of file diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/TickPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/TickPlugin.java index af4394ba..a41611e5 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/TickPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/TickPlugin.java @@ -48,7 +48,7 @@ public class TickPlugin implements Listener { } }); - if (!receivedDebugSample) dispatchTick(); + if (!receivedDebugSample || bot.selfCare.data.permissionLevel < 2) dispatchTick(); } private void tickLocalSecond () {