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