13
0
geforkt von Mirrors/Paper
Paper/nms-patches/RegionFile.patch

17 Zeilen
454 B
Diff

2015-05-25 12:37:24 +02:00
--- 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];
}
2015-02-26 23:41:06 +01:00
- public boolean c(int i, int j) {
+ public boolean c(int i, int j) { // PAIL chunkExists
return this.e(i, j) != 0;
2015-02-26 23:41:06 +01:00
}