Skip to content

Commit

Permalink
fix compat with some fucking mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Yefancy committed Dec 2, 2023
1 parent 9c22a5b commit 8363d89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ run
artifacts

#architectury
.architectury-transformer
.architectury-transformer
*.DS_Store
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public static ShimmerMetadataSection getMetadata(ResourceLocation res) {
}

public static boolean isBloom(TextureAtlasSprite sprite) {
if (sprite == null) return false;
@SuppressWarnings("resource")
ShimmerMetadataSection ret = getMetadata(spriteToAbsolute(sprite.contents().name()));
return ret != null && ret.bloom;
Expand Down

0 comments on commit 8363d89

Please sign in to comment.