mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
Add decompile fix for ChunkSection
This commit is contained in:
parent
34186ac1a2
commit
fdb8141a2b
@ -58,6 +58,19 @@ index 002da2a19..9f3aa2459 100644
|
|||||||
++this.g.d;
|
++this.g.d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
diff --git a/src/main/java/net/minecraft/server/ChunkSection.java b/src/main/java/net/minecraft/server/ChunkSection.java
|
||||||
|
index 650ef1475..35aea4829 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/ChunkSection.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/ChunkSection.java
|
||||||
|
@@ -0,0 +0,0 @@ public class ChunkSection {
|
||||||
|
|
||||||
|
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()); // Paper - Decompile error
|
||||||
|
this.emittedLight = new NibbleArray();
|
||||||
|
if (flag) {
|
||||||
|
this.skyLight = new NibbleArray();
|
||||||
diff --git a/src/main/java/net/minecraft/server/DefinedStructure.java b/src/main/java/net/minecraft/server/DefinedStructure.java
|
diff --git a/src/main/java/net/minecraft/server/DefinedStructure.java b/src/main/java/net/minecraft/server/DefinedStructure.java
|
||||||
index a661789c1..785a1a218 100644
|
index a661789c1..785a1a218 100644
|
||||||
--- a/src/main/java/net/minecraft/server/DefinedStructure.java
|
--- a/src/main/java/net/minecraft/server/DefinedStructure.java
|
||||||
|
Loading…
Reference in New Issue
Block a user