diff options
| author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-10-27 23:11:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-28 09:11:34 +1100 |
| commit | fc3ef51cd9d61c65b675f98c174779ea8b0dc75d (patch) | |
| tree | d77eb14e8ad40fab52436a21af5d6a5ae9ae78ac | |
| parent | 6a7005e9859ce9f18c43d1d420c5257600914685 (diff) | |
| download | SkyHanni-fc3ef51cd9d61c65b675f98c174779ea8b0dc75d.tar.gz SkyHanni-fc3ef51cd9d61c65b675f98c174779ea8b0dc75d.tar.bz2 SkyHanni-fc3ef51cd9d61c65b675f98c174779ea8b0dc75d.zip | |
fixed typo in pattern group key (#2842)
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalGoal.kt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalGoal.kt b/src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalGoal.kt index 393979ebb..d65e65ba1 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalGoal.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalGoal.kt @@ -24,7 +24,7 @@ import net.minecraft.item.ItemStack import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import org.intellij.lang.annotations.Language -private val repoGroup = RepoPattern.group("carnvial.goals") +private val patternGroup = RepoPattern.group("event.carnival.goals") enum class CarnivalGoal( private val type: GoalType, @@ -126,8 +126,8 @@ enum class CarnivalGoal( private val patternKeyName = name.lowercase().replace("_", ".") - private val lorePattern by repoGroup.pattern("lore.$patternKeyName", loreLine) - private val chatPattern by repoGroup.pattern("chat.$patternKeyName", chatLine) + private val lorePattern by patternGroup.pattern("lore.$patternKeyName", loreLine) + private val chatPattern by patternGroup.pattern("chat.$patternKeyName", chatLine) private var isReached: Boolean get() { @@ -161,9 +161,9 @@ enum class CarnivalGoal( private val config get() = SkyHanniMod.feature.event.carnival private val storage get() = ProfileStorageData.profileSpecific?.carnival - private val inventoryPattern by repoGroup.pattern("inventory", "Carnival Goals") + private val inventoryPattern by patternGroup.pattern("inventory", "Carnival Goals") - private val completePattern by repoGroup.pattern("complete", "§a§lCOMPLETE") + private val completePattern by patternGroup.pattern("complete", "§a§lCOMPLETE") private var dirty = true |
