diff --git a/patches/minecraft/net/minecraft/nbt/CompressedStreamTools.java.patch b/patches/minecraft/net/minecraft/nbt/CompressedStreamTools.java.patch index 8f7488e71..77108394c 100644 --- a/patches/minecraft/net/minecraft/nbt/CompressedStreamTools.java.patch +++ b/patches/minecraft/net/minecraft/nbt/CompressedStreamTools.java.patch @@ -34,7 +34,7 @@ public static void func_74795_b(NBTTagCompound p_74795_0_, File p_74795_1_) throws IOException { DataOutputStream dataoutputstream = new DataOutputStream(new FileOutputStream(p_74795_1_)); -@@ -197,7 +196,6 @@ +@@ -197,13 +196,11 @@ } } @@ -42,3 +42,9 @@ public static NBTTagCompound func_74797_a(File p_74797_0_) throws IOException { return func_152458_a(p_74797_0_, NBTSizeTracker.field_152451_a); + } + +- @SideOnly(Side.CLIENT) + public static NBTTagCompound func_152458_a(File p_152458_0_, NBTSizeTracker p_152458_1_) throws IOException + { + if (!p_152458_0_.exists())