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 @@ -199,8 +199,8 @@ protected int getLayerOrder(final RenderLayer layer) {
199199 if (layer instanceof RenderLayer .MultiPhase multiPhase ) {
200200 final Identifier textureId = multiPhase .getPhases ().texture .getId ().orElse (null );
201201 if (textureId != null ) {
202- if (textureId .toString ().startsWith ("minecraft:" + HorseArmorItem .ENTITY_TEXTURE_PREFIX )) {
203- final String horseTexturePath = textureId .toString ().substring (( "minecraft:" + HorseArmorItem .ENTITY_TEXTURE_PREFIX ) .length ());
202+ if (textureId .getPath ().startsWith (HorseArmorItem .ENTITY_TEXTURE_PREFIX )) {
203+ final String horseTexturePath = textureId .getPath ().substring (HorseArmorItem .ENTITY_TEXTURE_PREFIX .length ());
204204 if (horseTexturePath .startsWith ("horse_markings" )) {
205205 return 2 ;
206206 } else if (horseTexturePath .startsWith ("armor/" )) {
You can’t perform that action at this time.
0 commit comments