Skip to content

Commit

Permalink
Fix field name for 1.16.5
Browse files Browse the repository at this point in the history
  • Loading branch information
soir20 committed Feb 18, 2022
1 parent b0ff958 commit ea2a988
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected ToIntFunction<TextureAtlasSprite> getMipmapLevelGetter(Logger logger)
return (sprite) -> {
try {
NativeImage[] mipmaps = ObfuscationReflectionHelper.getPrivateValue(TextureAtlasSprite.class,
sprite, "f_118342_");
sprite, "field_195670_c");

if (mipmaps != null) {
return mipmaps.length - 1;
Expand Down

0 comments on commit ea2a988

Please sign in to comment.