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 @@ -201,8 +201,8 @@ protected int getLayerOrder(final RenderLayer layer) {
201201 if (layer instanceof RenderLayer .MultiPhase multiPhase ) {
202202 final Identifier textureId = multiPhase .getPhases ().texture .getId ().orElse (null );
203203 if (textureId != null ) {
204- if (textureId .toString ().startsWith ("minecraft: textures/entity/horse/" )) {
205- final String horseTexturePath = textureId .toString ().substring (( "minecraft: textures/entity/horse/") .length ());
204+ if (textureId .getPath ().startsWith ("textures/entity/horse/" )) {
205+ final String horseTexturePath = textureId .getPath ().substring (" textures/entity/horse/" .length ());
206206 if (horseTexturePath .startsWith ("horse_markings" )) {
207207 return 2 ;
208208 } else if (horseTexturePath .startsWith ("armor/" )) {
You can’t perform that action at this time.
0 commit comments