From c7f9d5a529e791abae1a429516936706fc473cb8 Mon Sep 17 00:00:00 2001 From: cpw Date: Wed, 25 Jun 2014 18:59:14 -0400 Subject: [PATCH] Fix new method with Side.CLIENT when it shouldn't have it. Closes a bunch of reports of problems. --- .../net/minecraft/nbt/CompressedStreamTools.java.patch | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/nbt/CompressedStreamTools.java.patch b/patches/minecraft/net/minecraft/nbt/CompressedStreamTools.java.patch index 8f7488e71b..77108394ce 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())