2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/ChunkSection.java
|
|
|
|
+++ b/net/minecraft/server/ChunkSection.java
|
2018-07-15 02:00:00 +02:00
|
|
|
@@ -15,7 +15,7 @@
|
2014-11-25 22:32:16 +01:00
|
|
|
|
2018-07-15 02:00:00 +02:00
|
|
|
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 @@
|
2016-06-25 12:44:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean a() {
|
|
|
|
- return this.nonEmptyBlockCount == 0;
|
|
|
|
+ return false; // CraftBukkit - MC-80966
|
|
|
|
}
|
|
|
|
|
2018-07-15 02:00:00 +02:00
|
|
|
public boolean b() {
|