Remove comment and fix build }}}}}

This commit is contained in:
Zach Brown 2016-05-22 21:20:15 -05:00
parent 4e74c43218
commit 50277c2ceb

View File

@ -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 {