Commits

md_5 authored e354566ec12
SPIGOT-6076: Crash when updating blocks in uninitialized chunk sections
No tags

nms-patches/PacketPlayOutMultiBlockChange.patch

Added
1 +--- a/net/minecraft/server/PacketPlayOutMultiBlockChange.java
2 ++++ b/net/minecraft/server/PacketPlayOutMultiBlockChange.java
3 +@@ -24,7 +24,7 @@
4 + short short0 = (Short) shortiterator.next();
5 +
6 + this.b[i] = short0;
7 +- this.c[i] = chunksection.getType(SectionPosition.a(short0), SectionPosition.b(short0), SectionPosition.c(short0));
8 ++ this.c[i] = (chunksection != null) ? chunksection.getType(SectionPosition.a(short0), SectionPosition.b(short0), SectionPosition.c(short0)) : Blocks.AIR.getBlockData(); // CraftBukkit - SPIGOT-6076, Mojang bug when empty chunk section notified
9 + }
10 +
11 + }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut