diff options
Diffstat (limited to 'src/main/kotlin/com/ambientaddons/features')
-rw-r--r-- | src/main/kotlin/com/ambientaddons/features/misc/Salvage.kt | 5 | ||||
-rw-r--r-- | src/main/kotlin/com/ambientaddons/features/misc/Trapper.kt | 2 |
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) |