summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nms-patches/DataPaletteBlock.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/nms-patches/DataPaletteBlock.patch b/nms-patches/DataPaletteBlock.patch
index d761b41d..16339942 100644
--- a/nms-patches/DataPaletteBlock.patch
+++ b/nms-patches/DataPaletteBlock.patch
@@ -23,3 +23,11 @@
}
}
+@@ -117,6 +131,6 @@
+ public int a() {
+ int i = this.b.b();
+
+- return 1 + this.c.a() + PacketDataSerializer.a(i) + i * 8;
++ return 1 + this.c.a() + PacketDataSerializer.a(i) + this.b.a().length * 8; // CraftBukkit - Backport fix, remove on update
+ }
+ }