Skip to content

Commit

Permalink
fix: favorited pets don't get detected as pets (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
TakoTheDev authored Sep 27, 2024
1 parent be95954 commit be55cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/gg/skytils/skytilsmod/utils/ItemUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import java.util.*
import kotlin.math.max

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

0 comments on commit be55cfd

Please sign in to comment.