Skip to content

Commit ff32948

Browse files
committed
HOW?
1 parent 933649e commit ff32948

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/GamePatches.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private static void patchSlimJarImpl(File slimJar,JarSourceSet jarSourceSet, Fil
159159
Function<ClassNode, byte[]> classNodeToBytes = classNodeToBytesDefault;
160160
if (computeFrames) {
161161
classNodeToBytes = ReBuildHelper.makeBasicFrameComputeWithJar(slimJar);
162-
} else throw new RuntimeException("NO!");
162+
}
163163
HashSet<String> classesToPatch = new HashSet<>(gameClassPatches.keySet());
164164
try(ZipInputStream zipInputStream = new ZipInputStream(Files.newInputStream(slimJar.toPath()));
165165
ZipOutputStream zipOutputStream = new ZipOutputStream(Files.newOutputStream(patchedJar.toPath()))) {

0 commit comments

Comments
 (0)