aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
authorAppability <appable@icloud.com>2022-11-11 15:29:26 -0800
committerAppability <appable@icloud.com>2022-11-11 15:29:26 -0800
commit8ec0ce4c645b3fb94c25cde9922f853a992b3fa7 (patch)
treede17dda7a530594c7277984bd380093d0198bf04 /src/main/kotlin
parentcd7b9b35164a7b2316745a91e21baa66ea2bc754 (diff)
downloadAmbientAddons-8ec0ce4c645b3fb94c25cde9922f853a992b3fa7.tar.gz
AmbientAddons-8ec0ce4c645b3fb94c25cde9922f853a992b3fa7.tar.bz2
AmbientAddons-8ec0ce4c645b3fb94c25cde9922f853a992b3fa7.zip
hypixel made trapper text bold for no reason
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/com/ambientaddons/features/misc/Salvage.kt5
-rw-r--r--src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/main/kotlin/com/ambientaddons/features/misc/Salvage.kt b/src/main/kotlin/com/ambientaddons/features/misc/Salvage.kt
new file mode 100644
index 0000000..a716758
--- /dev/null
+++ b/src/main/kotlin/com/ambientaddons/features/misc/Salvage.kt
@@ -0,0 +1,5 @@
+package com.ambientaddons.features.misc
+
+class Salvage {
+
+} \ No newline at end of file
diff --git a/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt b/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt
index 3d7b585..d3269c2 100644
--- a/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt
+++ b/src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt
@@ -16,7 +16,7 @@ import java.awt.Color
object Trapper {
private var color: Color? = null
private val trapperRegex =
- Regex("^§e\\[NPC\\] Trevor The Trapper§f: §rYou can find your §(?<color>[0-9a-f])\\w+ §fanimal near the §(?<locationColor>[0-9a-f])(?<location>[\\w ]+)§f.§r$")
+ Regex("^§e\\[NPC\\] Trevor The Trapper§f: §rYou can find your §(?<color>[0-9a-f])§l\\w+ §fanimal near the §(?<locationColor>[0-9a-f])(?<location>[\\w ]+)§f.§r$")
private val animals =
listOf(EntityCow::class, EntityPig::class, EntitySheep::class, EntityCow::class, EntityChicken::class, EntityRabbit::class)
private val animalHp: List<Float?> = listOf(100F, 200F, 500F, 1000F, 1024F, 2048F)