From 0eb966c2a94c9c3069e154c6e79e0f7f97ead7f3 Mon Sep 17 00:00:00 2001 From: Suddenly Date: Sat, 9 Aug 2014 19:25:00 -0500 Subject: [PATCH] Treat this.c as an element, not an extra object --- ....c-as-an-element-not-an-extra-object.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Spigot-Server-Patches/0034-treat-this.c-as-an-element-not-an-extra-object.patch diff --git a/Spigot-Server-Patches/0034-treat-this.c-as-an-element-not-an-extra-object.patch b/Spigot-Server-Patches/0034-treat-this.c-as-an-element-not-an-extra-object.patch new file mode 100644 index 000000000..015bb1fc3 --- /dev/null +++ b/Spigot-Server-Patches/0034-treat-this.c-as-an-element-not-an-extra-object.patch @@ -0,0 +1,26 @@ +From 569c585a9911742f9189ed7550aed33083dc98f1 Mon Sep 17 00:00:00 2001 +From: Suddenly +Date: Sat, 9 Aug 2014 19:23:26 -0500 +Subject: [PATCH] treat this.c as an element, not an extra object + + +diff --git a/src/main/java/net/minecraft/server/JsonList.java b/src/main/java/net/minecraft/server/JsonList.java +index 3ef40f2..8beda81 100644 +--- a/src/main/java/net/minecraft/server/JsonList.java ++++ b/src/main/java/net/minecraft/server/JsonList.java +@@ -149,10 +149,10 @@ public class JsonList { + // Spigot Start + } catch ( java.io.FileNotFoundException ex ) + { +- a.info( "Unable to find file {0}, creating it.", this.c ); ++ org.bukkit.Bukkit.getLogger().log( java.util.logging.Level.INFO, "Unable to find file {0}, creating it.", this.c ); // PaperSpigot + } catch ( net.minecraft.util.com.google.gson.JsonSyntaxException ex ) + { +- a.warn( "Unable to read file {0}, backing it up to {0}.backup and creating new copy.", this.c ); ++ org.bukkit.Bukkit.getLogger().log( java.util.logging.Level.WARNING, "Unable to read file {0}, backing it up to {0}.backup and creating new copy.", this.c ); // PaperSpigot + File backup = new File( this.c + ".backup" ); + this.c.renameTo( backup ); + this.c.delete(); +-- +1.9.1 +