summaryrefslogtreecommitdiffstats
path: root/nms-patches/WorldMap.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-25 14:13:17 +1000
committermd_5 <git@md-5.net>2018-07-25 14:13:17 +1000
commit88d89792fc14b2b17344d7f7250b62e555ba604f (patch)
tree13f2d7b25154cf22de88463484d9c5fa3ed0d3aa /nms-patches/WorldMap.patch
parent49a2604e1f8721c813820c847f971df4c25002e1 (diff)
downloadcraftbukkit-88d89792fc14b2b17344d7f7250b62e555ba604f.tar
craftbukkit-88d89792fc14b2b17344d7f7250b62e555ba604f.tar.gz
craftbukkit-88d89792fc14b2b17344d7f7250b62e555ba604f.tar.lz
craftbukkit-88d89792fc14b2b17344d7f7250b62e555ba604f.tar.xz
craftbukkit-88d89792fc14b2b17344d7f7250b62e555ba604f.zip
SPIGOT-4141: Untouched filled maps not saving
Diffstat (limited to 'nms-patches/WorldMap.patch')
-rw-r--r--nms-patches/WorldMap.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/WorldMap.patch b/nms-patches/WorldMap.patch
index 622228b6..89ff045e 100644
--- a/nms-patches/WorldMap.patch
+++ b/nms-patches/WorldMap.patch
@@ -35,6 +35,15 @@
}
public void a(int i, int j, int k, boolean flag, boolean flag1, int l) {
+@@ -31,7 +50,7 @@
+ this.map = (byte) l;
+ this.track = flag;
+ this.unlimitedTracking = flag1;
+- this.d();
++ this.c(); // CraftBukkit - typo
+ }
+
+ public void a(double d0, double d1, int i) {
@@ -44,7 +63,30 @@
}