aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-09 20:33:02 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-09 20:33:02 +0100
commit4bf10bcb6fae76b79cd4bc0201f48e46e9254f90 (patch)
tree3dc71d32504d672f9ef2b9fc5a09368fac33b820
parent2d966725fe56cc7664924a11317502fd5b62f9f4 (diff)
downloadskyhanni-4bf10bcb6fae76b79cd4bc0201f48e46e9254f90.tar.gz
skyhanni-4bf10bcb6fae76b79cd4bc0201f48e46e9254f90.tar.bz2
skyhanni-4bf10bcb6fae76b79cd4bc0201f48e46e9254f90.zip
code cleanup
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderChestReward.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderChestReward.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderChestReward.kt
index a54034d1e..8ae17eaf6 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderChestReward.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderChestReward.kt
@@ -4,7 +4,6 @@ import at.hannibal2.skyhanni.utils.repopatterns.RepoPattern
enum class PowderChestReward(val displayName: String, pattern: String) {
-
MITHRIL_POWDER("§aMithril Powder", "§aYou received §r§b[+](?<amount>.*) §r§aMithril Powder."),
GEMSTONE_POWDER("§dGemstone Powder", "§aYou received §r§b[+](?<amount>.*) §r§aGemstone Powder."),
@@ -152,5 +151,5 @@ enum class PowderChestReward(val displayName: String, pattern: String) {
val chatPattern by RepoPattern.pattern("mining.powder.tracker.reward." + this.patternName(), pattern)
- private fun PowderChestReward.patternName() = name.lowercase().replace("_", "")
+ private fun patternName() = name.lowercase().replace("_", "")
}