13
0
geforkt von Mirrors/Paper
Paper/paper-server/nms-patches/RegionFile.patch
CraftBukkit/Spigot 0f12ccbdba Drop RegionFile.chunkExists() in favour of Mojang's own version
By: Geoff Crossland <gcrossland+bukkit@gmail.com>
2017-01-31 23:52:21 +00:00

17 Zeilen
454 B
Diff

--- 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;
}