Skip to content

Commit

Permalink
Hotfix: use SRG name when reflecting fields
Browse files Browse the repository at this point in the history
  • Loading branch information
3TUSK authored Apr 24, 2022
1 parent 2625298 commit 00fcc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/teacon/slides/renderer/SlideState.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public final class SlideState {

static {
sCache = new AtomicReference<>(Collections.synchronizedMap(new HashMap<>()));
IMAGE_PIXELS = ObfuscationReflectionHelper.findField(NativeImage.class, "pixels");
IMAGE_PIXELS = ObfuscationReflectionHelper.findField(NativeImage.class, "f_84964_"); // pixels
}

@SubscribeEvent
Expand Down

0 comments on commit 00fcc96

Please sign in to comment.