mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 12:36:07 +01:00
MC-80966 - Always send chunk sections
This commit is contained in:
parent
47db868df1
commit
4924e9398f
@ -0,0 +1,24 @@
|
|||||||
|
From bd498ac48498c0555fdb0eb25c6bb1498481ce58 Mon Sep 17 00:00:00 2001
|
||||||
|
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() {
|
||||||
|
--
|
||||||
|
2.8.3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user