diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-01 10:51:43 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-01 10:51:43 +0100 |
commit | 18735f84f7ecdfc38c5d01f2f8a210e2a1613779 (patch) | |
tree | 2fc7851ab98ff07a0b4aeb66bbea7b26b8e361e7 /src/main/java | |
parent | 58aead2841c2ef5818de483e118c8d7a666788bf (diff) | |
download | skyhanni-18735f84f7ecdfc38c5d01f2f8a210e2a1613779.tar.gz skyhanni-18735f84f7ecdfc38c5d01f2f8a210e2a1613779.tar.bz2 skyhanni-18735f84f7ecdfc38c5d01f2f8a210e2a1613779.zip |
add trailing comma
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt index 33509b606..91ba44ce2 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt @@ -192,13 +192,13 @@ class ChatFilter { // Party private val partyMessages = listOf( - "§9§m-----------------------------------------------------" + "§9§m-----------------------------------------------------", ) // MONEY // Auction House private val auctionHouseMessages = listOf( - "§b-----------------------------------------------------", "§eVisit the Auction House to collect your item!" + "§b-----------------------------------------------------", "§eVisit the Auction House to collect your item!", ) // Bazaar @@ -206,12 +206,12 @@ class ChatFilter { "§eBuy Order Setup! §r§a(.*)§r§7x (.*) §r§7for §r§6(.*) coins§r§7.".toPattern(), "§eSell Offer Setup! §r§a(.*)§r§7x (.*) §r§7for §r§6(.*) coins§r§7.".toPattern(), "§cCancelled! §r§7Refunded §r§6(.*) coins §r§7from cancelling buy order!".toPattern(), - "§cCancelled! §r§7Refunded §r§a(.*)§r§7x (.*) §r§7from cancelling sell offer!".toPattern() + "§cCancelled! §r§7Refunded §r§a(.*)§r§7x (.*) §r§7from cancelling sell offer!".toPattern(), ) // Winter Island private val winterIslandPatterns = listOf( - "§r§f☃ §r§7§r(.*) §r§7mounted a §r§fSnow Cannon§r§7!".toPattern() + "§r§f☃ §r§7§r(.*) §r§7mounted a §r§fSnow Cannon§r§7!".toPattern(), ) // Useless Warning @@ -224,13 +224,13 @@ class ChatFilter { "§cPlace a Dungeon weapon or armor piece above the anvil to salvage it!", "§cWhoa! Slow down there!", "§cWait a moment before confirming!", - "§cYou cannot open the SkyBlock menu while in combat!" + "§cYou cannot open the SkyBlock menu while in combat!", ) // Annoying Spam private val annoyingSpamPatterns = listOf( "§7Your Implosion hit (.*) for §r§c(.*) §r§7damage.".toPattern(), - "§7Your Molten Wave hit (.*) for §r§c(.*) §r§7damage.".toPattern() + "§7Your Molten Wave hit (.*) for §r§c(.*) §r§7damage.".toPattern(), ) private val annoyingSpamMessages = listOf( "§cThere are blocks in the way!", @@ -242,7 +242,7 @@ class ChatFilter { "§6§lGOOD CATCH! §r§bYou found a §r§fDark Bait§r§b.", "§6§lGOOD CATCH! §r§bYou found a §r§fLight Bait§r§b.", "§6§lGOOD CATCH! §r§bYou found a §r§aHot Bait§r§b.", - "§6§lGOOD CATCH! §r§bYou found a §r§fSpooky Bait§r§b." + "§6§lGOOD CATCH! §r§bYou found a §r§fSpooky Bait§r§b.", ) // Winter Gift @@ -275,7 +275,7 @@ class ChatFilter { "§e§lSWEET! §r§5Snow Suit .* §r§egift with §r.*§r§e!".toPattern(), // winter gifts not your gifts - "§cThis gift is for §r.*§r§c, sorry!".toPattern() + "§cThis gift is for §r.*§r§c, sorry!".toPattern(), ) // Powder Mining @@ -289,7 +289,7 @@ class ChatFilter { // Useful, maybe in another chat "§aYou received §r§b\\+\\d{1,3} §r§a(Mithril|Gemstone) Powder.".toPattern(), - "§aYou received §r(§6|§b)\\+[1-2] (Diamond|Gold) Essence".toPattern() + "§aYou received §r(§6|§b)\\+[1-2] (Diamond|Gold) Essence".toPattern(), ) private val powderMiningMessages = listOf( "§aYou uncovered a treasure chest!", @@ -298,7 +298,7 @@ class ChatFilter { // Jungle "§aYou received §r§f1 §r§aOil Barrel§r§a.", // Useful, maybe in another chat - "§6You have successfully picked the lock on this chest!" + "§6You have successfully picked the lock on this chest!", ) private val patternsMap: Map<String, List<Pattern>> = mapOf( @@ -314,7 +314,7 @@ class ChatFilter { "winter_island" to winterIslandPatterns, "annoying_spam" to annoyingSpamPatterns, "winter_gift" to winterGiftPatterns, - "powder_mining" to powderMiningPatterns + "powder_mining" to powderMiningPatterns, ) private val messagesMap: Map<String, List<String>> = mapOf( @@ -330,14 +330,14 @@ class ChatFilter { "money" to auctionHouseMessages, "useless_warning" to uselessWarningMessages, "annoying_spam" to annoyingSpamMessages, - "powder_mining" to powderMiningMessages + "powder_mining" to powderMiningMessages, ) private val messagesContainsMap: Map<String, List<String>> = mapOf( "lobby" to lobbyMessagesContains, ) private val messagesStartsWithMap: Map<String, List<String>> = mapOf( "slayer" to slayerMessageStartWith, - "profile_join" to profileJoinMessageStartsWith + "profile_join" to profileJoinMessageStartsWith, ) /// </editor-fold> |