Skip to content

Commit

Permalink
Fixed issue with HybridAquaticRayEntityModel
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticKoko committed Jul 13, 2024
1 parent 91c54e7 commit 8e2ee84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ abstract class HybridAquaticRayEntityModel<T: HybridAquaticRayEntity> (private v
override fun getTextureResource(animatable: T?): Identifier {
val variant = animatable?.variant
if (variant != null && !variant.ignore.contains(TEXTURE))
return Identifier(HybridAquatic.MOD_ID, "textures/entity/fish/${id}_${variant.getProvidedVariant(animatable)}.png")
return Identifier(HybridAquatic.MOD_ID, "textures/entity/fish.$id.png")
return Identifier(HybridAquatic.MOD_ID, "textures/entity/fish/$id/${id}_${variant.getProvidedVariant(animatable)}.png")
return Identifier(HybridAquatic.MOD_ID, "textures/entity/fish/$id/$id.png")
}

override fun getAnimationResource(animatable: T?): Identifier {
Expand Down

0 comments on commit 8e2ee84

Please sign in to comment.