Remove last bit of chunk exists region file fix

CraftBukkit removed their implementation that caused this issue,
switching to Mojang's implementation which doesn't appear to share it. I
already removed the important bit in the last upstream merge, this is
just unused and unnecessary now. So we remove it.
This commit is contained in:
Zach Brown
2017-04-29 05:27:31 -05:00
parent 2671b8b308
commit 64b19558b6
44 changed files with 66 additions and 101 deletions

View File

@@ -25,7 +25,7 @@ index 6907d4680..c3ff47e00 100644
+ }
}
diff --git a/src/main/java/net/minecraft/server/RegionFileCache.java b/src/main/java/net/minecraft/server/RegionFileCache.java
index 19fbf9b4a..ad00c39ce 100644
index 02b9bc8df..91b55074e 100644
--- a/src/main/java/net/minecraft/server/RegionFileCache.java
+++ b/src/main/java/net/minecraft/server/RegionFileCache.java
@@ -0,0 +0,0 @@ import java.io.File;
@@ -40,8 +40,8 @@ index 19fbf9b4a..ad00c39ce 100644
- public static final Map<File, RegionFile> a = Maps.newHashMap(); // Spigot - private -> public
+ public static final Map<File, RegionFile> a = new LinkedHashMap(PaperConfig.regionFileCacheSize, 0.75f, true); // Spigot - private -> public, Paper - HashMap -> LinkedHashMap
// Paper start
public static synchronized RegionFile a(File file, int i, int j) {
File file1 = new File(file, "region");
@@ -0,0 +0,0 @@ public class RegionFileCache {
file1.mkdirs();
}