diff --git a/src/main/kotlin/com/mineinabyss/packy/PackObfuscator.kt b/src/main/kotlin/com/mineinabyss/packy/PackObfuscator.kt index dd876ec..2fd0875 100644 --- a/src/main/kotlin/com/mineinabyss/packy/PackObfuscator.kt +++ b/src/main/kotlin/com/mineinabyss/packy/PackObfuscator.kt @@ -178,6 +178,7 @@ class PackObfuscator(private val resourcePack: ResourcePack) { return toBuilder().parent( obfuscatedModels.findObf(parent)?.key() + ?: ResourcePacks.defaultVanillaResourcePack?.model(parent)?.let { return this } ?: resourcePack.takeUnless { parent == key() }?.model(parent)?.let(::obfuscateModel)?.key() ?: parent ).build()