diff --git a/gradle.properties b/gradle.properties index 2ca0b12b..c067fb16 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,6 +9,6 @@ fabric_version=0.42.0+1.16 tiny_remapper_version=0.8.11 fabric_asm_version=v2.3 -mod_version = 1.14.0 +mod_version = 1.14.1 maven_group = me.modmuss50 archives_base_name = optifabric diff --git a/src/main/java/me/modmuss50/optifabric/patcher/ClassCache.java b/src/main/java/me/modmuss50/optifabric/patcher/ClassCache.java index 6b529e1c..84bb5eba 100644 --- a/src/main/java/me/modmuss50/optifabric/patcher/ClassCache.java +++ b/src/main/java/me/modmuss50/optifabric/patcher/ClassCache.java @@ -63,7 +63,7 @@ private long calculateCRC() { public static ClassCache read(File input) throws IOException { try (DataInputStream dis = new DataInputStream(new GZIPInputStream(new FileInputStream(input)))) { char formatRevision = dis.readChar(); //Check the format of the file - if (formatRevision != 'D') return new ClassCache(null); + if (formatRevision != 'E') return new ClassCache(null); long expectedCRC = dis.readLong(); @@ -98,7 +98,7 @@ public void save(File output) throws IOException { } try (DataOutputStream dos = new DataOutputStream(new GZIPOutputStream(new FileOutputStream(output)))) { - dos.writeChar('D'); //Format version + dos.writeChar('E'); //Format version dos.writeLong(calculateCRC()); //Expected CRC to get from fully reading //Write the hash