mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Updated Upstream (Tuinity)
Upstream has released updates that appears to apply and compile correctly Tuinity Changes: 4513d90 Fix ghost blocks in ticking view distance
This commit is contained in:
@@ -1999,7 +1999,7 @@ index a2ee39b7ef..c77f71b6de 100644
|
||||
@Override
|
||||
public BlockPosition immutableCopy() {
|
||||
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
|
||||
index 7e8e154733..9d313fdefe 100644
|
||||
index 7e8e154733..b87bfb1dee 100644
|
||||
--- a/src/main/java/net/minecraft/server/Chunk.java
|
||||
+++ b/src/main/java/net/minecraft/server/Chunk.java
|
||||
@@ -375,7 +375,7 @@ public class Chunk implements IChunkAccess {
|
||||
@@ -2106,6 +2106,15 @@ index 7e8e154733..9d313fdefe 100644
|
||||
int i = MathHelper.floor((axisalignedbb.minY - 2.0D) / 16.0D);
|
||||
int j = MathHelper.floor((axisalignedbb.maxY + 2.0D) / 16.0D);
|
||||
|
||||
@@ -1174,7 +1211,7 @@ public class Chunk implements IChunkAccess {
|
||||
IBlockData iblockdata = this.getType(blockposition);
|
||||
IBlockData iblockdata1 = Block.b(iblockdata, (GeneratorAccess) this.world, blockposition);
|
||||
|
||||
- this.world.setTypeAndData(blockposition, iblockdata1, 20);
|
||||
+ this.world.setTypeAndData(blockposition, iblockdata1, 20 | 2); // Tuinity - paper sends chunks before they're ticking ready, so we need to notify here
|
||||
}
|
||||
|
||||
this.n[i].clear();
|
||||
diff --git a/src/main/java/net/minecraft/server/ChunkMapDistance.java b/src/main/java/net/minecraft/server/ChunkMapDistance.java
|
||||
index eaed04f786..25086275f4 100644
|
||||
--- a/src/main/java/net/minecraft/server/ChunkMapDistance.java
|
||||
|
||||
Reference in New Issue
Block a user