3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 12:30:06 +01:00
Paper/Spigot-Server-Patches/0161-MC-80966-Always-send-chunk-sections.patch

25 Zeilen
832 B
Diff

2016-06-23 04:18:41 +02:00
From 22949033a0b643aa9b7496d9a9f403955f9ea30e Mon Sep 17 00:00:00 2001
2016-06-11 21:59:28 +02:00
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Sat, 11 Jun 2016 14:59:15 -0500
Subject: [PATCH] MC-80966 - Always send chunk sections
diff --git a/src/main/java/net/minecraft/server/ChunkSection.java b/src/main/java/net/minecraft/server/ChunkSection.java
index fc5c895..b2e81f0 100644
--- a/src/main/java/net/minecraft/server/ChunkSection.java
+++ b/src/main/java/net/minecraft/server/ChunkSection.java
@@ -64,7 +64,9 @@ public class ChunkSection {
}
public boolean a() {
- return this.nonEmptyBlockCount == 0;
+ // Paper - MC-80966
+ // Even if there are no blocks, there may be other information associated with the chunk, always send it.
+ return false;
}
public boolean shouldTick() {
--
2016-06-23 04:18:41 +02:00
2.9.0
2016-06-11 21:59:28 +02:00