We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19e1c71 commit c1e42e9Copy full SHA for c1e42e9
src/main/kotlin/gg/skytils/skytilsmod/utils/ItemUtil.kt
@@ -28,7 +28,7 @@ import java.util.*
28
import kotlin.math.max
29
30
object ItemUtil {
31
- private val PET_PATTERN = "§7\\[Lvl \\d+] (?<color>§[0-9a-fk-or]).+".toRegex()
+ private val PET_PATTERN = "§7\\[Lvl \\d+](?: §8\\[.*])? (?<color>§[0-9a-fk-or]).+".toRegex()
32
const val NBT_INTEGER = 3
33
private const val NBT_STRING = 8
34
private const val NBT_LIST = 9
0 commit comments