mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 20:46:59 +01:00
SPIGOT-4198: Pockets of darkness in the air
This commit is contained in:
parent
549d9b0120
commit
d474030e14
@ -1,20 +0,0 @@
|
||||
--- a/net/minecraft/server/ChunkSection.java
|
||||
+++ b/net/minecraft/server/ChunkSection.java
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
public ChunkSection(int i, boolean flag) {
|
||||
this.yPos = i;
|
||||
- this.blockIds = new DataPaletteBlock(ChunkSection.GLOBAL_PALETTE, Block.REGISTRY_ID, GameProfileSerializer::d, GameProfileSerializer::a, Blocks.AIR.getBlockData());
|
||||
+ this.blockIds = new DataPaletteBlock<>(ChunkSection.GLOBAL_PALETTE, Block.REGISTRY_ID, GameProfileSerializer::d, GameProfileSerializer::a, Blocks.AIR.getBlockData()); // CraftBukkit - decompile error
|
||||
this.emittedLight = new NibbleArray();
|
||||
if (flag) {
|
||||
this.skyLight = new NibbleArray();
|
||||
@@ -62,7 +62,7 @@
|
||||
}
|
||||
|
||||
public boolean a() {
|
||||
- return this.nonEmptyBlockCount == 0;
|
||||
+ return false; // CraftBukkit - MC-80966
|
||||
}
|
||||
|
||||
public boolean b() {
|
Loading…
Reference in New Issue
Block a user