diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-14 01:27:26 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-14 01:27:26 +0100 |
commit | e54c3ef28a9fb91b3438b4fcf7abebf41f9b1828 (patch) | |
tree | 9113dc1d4d0651d20907fb26d941d07633daaba5 | |
parent | ad991c1d7ef55e10755fb75a1bd44314a19a3739 (diff) | |
download | skyhanni-e54c3ef28a9fb91b3438b4fcf7abebf41f9b1828.tar.gz skyhanni-e54c3ef28a9fb91b3438b4fcf7abebf41f9b1828.tar.bz2 skyhanni-e54c3ef28a9fb91b3438b4fcf7abebf41f9b1828.zip |
Fixed changed garden level format
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt index fe4df931b..c4177ade0 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenLevelDisplay.kt @@ -19,7 +19,7 @@ import kotlin.time.Duration.Companion.milliseconds class GardenLevelDisplay { private val config get() = GardenAPI.config.gardenLevels private val expToNextLevelPattern = ".* §e(?<nextLevelExp>.*)§6/.*".toPattern() - private val overflowPattern = ".*§r §6(?<overflow>.*) XP".toPattern() + private val overflowPattern = ".*§r §6(?<overflow>.*)".toPattern() private val namePattern = "Garden Level (?<currentLevel>.*)".toPattern() private var display = "" private var visitorRewardPattern = " {4}§r§8\\+§r§2(?<exp>.*) §r§7Garden Experience".toPattern() |