Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Apr 5, 2024
1 parent 79362e6 commit 9cd9718
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import dev.nolij.zume.common.IZumeImplementation;
import dev.nolij.zume.common.Zume;
import net.minecraft.client.Minecraft;
import net.minecraft.client.Option;
import net.minecraft.client.Options;
import net.minecraftforge.client.event.EntityViewRenderEvent;
import net.minecraftforge.client.event.InputEvent;
Expand Down Expand Up @@ -89,7 +88,7 @@ public boolean isZoomOutPressed() {
} catch (ClassNotFoundException ignored) {
try {
//noinspection JavaLangInvokeHandleSignature
thirdPersonView = lookup.findGetter(Option.class, "field_74320_O", int.class);
thirdPersonView = lookup.findGetter(Options.class, "field_74320_O", int.class);
} catch (NoSuchFieldException | IllegalAccessException e) {
throw new AssertionError(e);
}
Expand Down

0 comments on commit 9cd9718

Please sign in to comment.