mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
--- a/net/minecraft/server/RegionFileCache.java
|
||||
+++ b/net/minecraft/server/RegionFileCache.java
|
||||
@@ -74,17 +74,27 @@
|
||||
RegionFileCache.a.clear();
|
||||
@@ -76,18 +76,28 @@
|
||||
}
|
||||
|
||||
@Nullable
|
||||
- public static DataInputStream d(File file, int i, int j) {
|
||||
+ // CraftBukkit start - call sites hoisted for synchronization
|
||||
+ public static synchronized NBTTagCompound d(File file, int i, int j) throws IOException {
|
||||
@@ -19,6 +19,7 @@
|
||||
+ return NBTCompressedStreamTools.a(datainputstream);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
- public static DataOutputStream e(File file, int i, int j) {
|
||||
+ public static synchronized void e(File file, int i, int j, NBTTagCompound nbttagcompound) throws IOException {
|
||||
RegionFile regionfile = a(file, i, j);
|
||||
|
Reference in New Issue
Block a user