File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
common/src/main/java/net/raphimc/immediatelyfast/feature/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,8 +197,8 @@ protected int getLayerOrder(final RenderLayer layer) {
197197 if (layer instanceof RenderLayer .MultiPhase multiPhase ) {
198198 final Identifier textureId = multiPhase .getPhases ().texture .getId ().orElse (null );
199199 if (textureId != null ) {
200- if (textureId .toString ().startsWith ("minecraft:" + HorseArmorItem .ENTITY_TEXTURE_PREFIX )) {
201- final String horseTexturePath = textureId .toString ().substring (( "minecraft:" + HorseArmorItem .ENTITY_TEXTURE_PREFIX ) .length ());
200+ if (textureId .getPath ().startsWith (HorseArmorItem .ENTITY_TEXTURE_PREFIX )) {
201+ final String horseTexturePath = textureId .getPath ().substring (HorseArmorItem .ENTITY_TEXTURE_PREFIX .length ());
202202 if (horseTexturePath .startsWith ("horse_markings" )) {
203203 return 2 ;
204204 } else if (horseTexturePath .startsWith ("armor/" )) {
You can’t perform that action at this time.
0 commit comments