Skip to content

Commit 1d9eee0

Browse files
committed
Fixup! Add initial game hotfixes.
1 parent ae48863 commit 1d9eee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patching/src/main/java/com/fox2code/foxloader/patching/game/HotfixesPatch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private static void patchGameSettings(ClassNode classNode) {
112112
MethodNode setFullscreenState = new MethodNode(ACC_PUBLIC,
113113
"setFullscreenState", "(Z)V", null, null);
114114
setFullscreenState.instructions.add(new VarInsnNode(ALOAD, 0));
115-
setFullscreenState.instructions.add(new VarInsnNode(ALOAD, 1));
115+
setFullscreenState.instructions.add(new VarInsnNode(ILOAD, 1));
116116
setFullscreenState.instructions.add(new FieldInsnNode(PUTFIELD,
117117
GameSettings, fullscreenField.name, fullscreenField.desc));
118118
setFullscreenState.instructions.add(new InsnNode(RETURN));

0 commit comments

Comments
 (0)