Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-21 05:50:05 +01:00
12 Zeilen
639 B
Diff
12 Zeilen
639 B
Diff
|
--- a/net/minecraft/server/PacketPlayOutMultiBlockChange.java
|
||
|
+++ b/net/minecraft/server/PacketPlayOutMultiBlockChange.java
|
||
|
@@ -24,7 +24,7 @@
|
||
|
short short0 = (Short) shortiterator.next();
|
||
|
|
||
|
this.b[i] = short0;
|
||
|
- this.c[i] = chunksection.getType(SectionPosition.a(short0), SectionPosition.b(short0), SectionPosition.c(short0));
|
||
|
+ 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
|
||
|
}
|
||
|
|
||
|
}
|