summaryrefslogtreecommitdiffstats
path: root/nms-patches/RegionFile.patch
blob: a1abb02577469863c9ac105213e2b05e10822f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/net/minecraft/server/RegionFile.java
+++ b/net/minecraft/server/RegionFile.java
@@ -224,11 +224,11 @@
         return i < 0 || i >= 32 || j < 0 || j >= 32;
     }
 
-    private int e(int i, int j) {
+    private synchronized int e(int i, int j) { // CraftBukkit
         return this.d[i + j * 32];
     }
 
-    public boolean c(int i, int j) {
+    public boolean c(int i, int j) { // PAIL chunkExists
         return this.e(i, j) != 0;
     }