diff options
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/BitsAPI.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/BitsAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/BitsAPI.kt index a69622916..05109d4fb 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/BitsAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/BitsAPI.kt @@ -225,6 +225,12 @@ object BitsAPI { if (bitsAvailable != amount) { bitsAvailable = amount sendBitsAvailableGainedEvent() + + val difference = bits - bitsAvailable + if (difference > 0) { + ChatUtils.debug("You have gained §3${difference} Bits §7according to the menu!") + bits += difference + } } } lore.matchFirst(cookieDurationPattern) { |