Skip to content

Commit

Permalink
Fix inverted content check
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Dec 22, 2024
1 parent 8236dba commit a8b0bec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected AbstractTexture createPBRTexture(ResourceLocation imageLocation, Resou
SimpleTexture pbrTexture = new SimpleTexture(pbrImageLocation);
TextureContents contents = loadContentsSafe(pbrTexture, resourceManager);

if (contents != null) {
if (contents == null) {
pbrTexture.releaseId();
return null;
}
Expand Down

0 comments on commit a8b0bec

Please sign in to comment.