13
0
geforkt von Mirrors/Paper

SPIGOT-6678: ChunkSnapshot#isSectionEmpty() not working as intended.

By: DerFrZocker <derrieple@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2021-07-27 18:07:14 +10:00
Ursprung eda6555bbf
Commit af0d8b70df

Datei anzeigen

@ -236,7 +236,7 @@ public class CraftChunk implements Chunk {
boolean[] sectionEmpty = new boolean[cs.length];
for (int i = 0; i < cs.length; i++) {
if (cs[i] == null) { // Section is empty?
if (ChunkSection.a(cs[i])) { // Section is empty? // PAIL rename isEmpty
sectionBlockIDs[i] = emptyBlockIDs;
sectionSkyLights[i] = emptyLight;
sectionEmitLights[i] = emptyLight;