From 50277c2ceb3572c2f8d1f3b0b3261733c4f9dbed Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Sun, 22 May 2016 21:20:15 -0500 Subject: [PATCH] Remove comment and fix build }}}}} --- Spigot-Server-Patches/Optimize-UserCache-Thread-Safe.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-Server-Patches/Optimize-UserCache-Thread-Safe.patch b/Spigot-Server-Patches/Optimize-UserCache-Thread-Safe.patch index e395d5c51..23a9f7fd4 100644 --- a/Spigot-Server-Patches/Optimize-UserCache-Thread-Safe.patch +++ b/Spigot-Server-Patches/Optimize-UserCache-Thread-Safe.patch @@ -75,7 +75,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + public void c(boolean asyncSave) { + // Paper end String s = this.b.toJson(this.a(org.spigotmc.SpigotConfig.userCacheCap)); -+ Runnable save = () -> { // Paper - ensure only 1 file is writing at same time by syncing to the FD ++ Runnable save = () -> { + BufferedWriter bufferedwriter = null; @@ -85,7 +85,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 IOUtils.closeQuietly(bufferedwriter); } + // Paper start -+ }}; ++ }; + if (asyncSave) { + MCUtil.scheduleAsyncTask(save); + } else {