Skip to content

Commit

Permalink
invisible stock bufix
Browse files Browse the repository at this point in the history
the recent update to the render was apparently missing a fallback texture mapping.
  • Loading branch information
EternalBlueFlame committed Jan 7, 2024
1 parent 5a70a94 commit 06211c2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/main/java/fexcraft/tmt/slim/ModelRendererTurbo.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,14 @@ public ModelRendererTurbo(ModelBase modelbase, int textureX, int textureY){
boxName = "";
textureOffsetX = textureX;
textureOffsetY = textureY;
textureWidth = 0;
textureHeight = 0;}
if(modelbase!=null){
textureWidth=modelbase.textureWidth;
textureHeight=modelbase.textureHeight;
} else {
textureWidth = 512;
textureHeight = 512;
}
}

public ModelRendererTurbo(ModelBase modelbase, String s){this(s);}
public ModelRendererTurbo(TurboList modelbase, String s){this(s);}
Expand Down

0 comments on commit 06211c2

Please sign in to comment.