Skip to content

Commit c1e42e9

Browse files
committed
fix: add support for "ancient" golden dragon skin for pet rarity
1 parent 19e1c71 commit c1e42e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/gg/skytils/skytilsmod/utils/ItemUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import java.util.*
2828
import kotlin.math.max
2929

3030
object ItemUtil {
31-
private val PET_PATTERN = "§7\\[Lvl \\d+] (?<color>§[0-9a-fk-or]).+".toRegex()
31+
private val PET_PATTERN = "§7\\[Lvl \\d+](?: §8\\[.*])? (?<color>§[0-9a-fk-or]).+".toRegex()
3232
const val NBT_INTEGER = 3
3333
private const val NBT_STRING = 8
3434
private const val NBT_LIST = 9

0 commit comments

Comments
 (0)