From 65085a8650470079abff0e81c7cc50235ff59273 Mon Sep 17 00:00:00 2001 From: Zeanon Date: Tue, 13 Apr 2021 20:03:49 +0200 Subject: [PATCH] . --- .../Dont_write_unwritable_json_files_paper.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Paper/SteamWar-Patches/Dont_write_unwritable_json_files_paper.patch b/Paper/SteamWar-Patches/Dont_write_unwritable_json_files_paper.patch index 6d06717..fb986c8 100644 --- a/Paper/SteamWar-Patches/Dont_write_unwritable_json_files_paper.patch +++ b/Paper/SteamWar-Patches/Dont_write_unwritable_json_files_paper.patch @@ -11,7 +11,7 @@ diff --git a/src/main/java/net/minecraft/server/JsonList.java b/src/main/java/ne public void save() throws IOException { + //Steamwar Start -+ if (this.c.canWrite()) { ++ if (!this.c.canWrite()) { + return; + } + //Steamwar End Don't write to unwriteable files