diff options
Diffstat (limited to 'patches/removed/1.15/0403-Preserve-old-flush-on-save-flag-for-reliable-regionf.patch')
-rw-r--r-- | patches/removed/1.15/0403-Preserve-old-flush-on-save-flag-for-reliable-regionf.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/patches/removed/1.15/0403-Preserve-old-flush-on-save-flag-for-reliable-regionf.patch b/patches/removed/1.15/0403-Preserve-old-flush-on-save-flag-for-reliable-regionf.patch deleted file mode 100644 index 13d75040c3..0000000000 --- a/patches/removed/1.15/0403-Preserve-old-flush-on-save-flag-for-reliable-regionf.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 98e10786918880c728f3afc751290cdf5eb14cf5 Mon Sep 17 00:00:00 2001 -From: Spottedleaf <[email protected]> -Date: Mon, 5 Aug 2019 08:24:01 -0700 -Subject: [PATCH] Preserve old flush on save flag for reliable regionfiles - -Originally this patch was in paper - -diff --git a/src/main/java/net/minecraft/server/RegionFile.java b/src/main/java/net/minecraft/server/RegionFile.java -index b487e8060..a8c8ace46 100644 ---- a/src/main/java/net/minecraft/server/RegionFile.java -+++ b/src/main/java/net/minecraft/server/RegionFile.java -@@ -349,7 +349,7 @@ public class RegionFile implements AutoCloseable { - } - - // Spigot start - Make region files reliable -- private static final boolean FLUSH_ON_SAVE = Boolean.getBoolean("spigot.flush-on-save"); -+ private static final boolean FLUSH_ON_SAVE = Boolean.getBoolean("spigot.flush-on-save") || Boolean.getBoolean("paper.flush-on-save"); // Paper - preserve old flag - private void syncRegionFile() throws IOException { - if (!FLUSH_ON_SAVE) { - return; --- -2.23.0 - |