Update to Minecraft 1.12-pre2

This commit is contained in:
md_5
2017-05-14 12:00:00 +10:00
parent 6e3cec8bc7
commit 5195487ec6
210 changed files with 2280 additions and 1974 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/RegionFileCache.java
+++ b/net/minecraft/server/RegionFileCache.java
@@ -74,19 +74,29 @@
@@ -74,17 +74,27 @@
RegionFileCache.a.clear();
}
@@ -30,8 +30,5 @@
}
+ // CraftBukkit end
- public static boolean f(File file, int i, int j) {
+ public static synchronized boolean f(File file, int i, int j) { // PAIL chunkExists; CraftBukkit
public static synchronized boolean chunkExists(File file, int i, int j) {
RegionFile regionfile = b(file, i, j);
return regionfile != null ? regionfile.c(i & 31, j & 31) : false;