mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
need to look at this later, fails rn
This commit is contained in:
parent
c5794c5351
commit
983b5e1680
@ -1,4 +1,4 @@
|
|||||||
From 0000000000000000000000>>>>>>> replacement000000000000000000 Mon Sep 17 00:00:00 2001
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
From: MeFisto94 <MeFisto94@users.noreply.github.com>
|
From: MeFisto94 <MeFisto94@users.noreply.github.com>
|
||||||
Date: Tue, 11 Aug 2020 19:17:46 +0200
|
Date: Tue, 11 Aug 2020 19:17:46 +0200
|
||||||
Subject: [PATCH] Add a way to get translation keys for blocks, entities and
|
Subject: [PATCH] Add a way to get translation keys for blocks, entities and
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mariell Hoversholm <proximyst@proximyst.com>
|
|
||||||
Date: Fri, 14 Aug 2020 23:41:19 +0200
|
|
||||||
Subject: [PATCH] Don't mark null chunk sections for block updates
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/server/level/ChunkHolder.java b/src/main/java/net/minecraft/server/level/ChunkHolder.java
|
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
|
||||||
--- a/src/main/java/net/minecraft/server/level/ChunkHolder.java
|
|
||||||
+++ b/src/main/java/net/minecraft/server/level/ChunkHolder.java
|
|
||||||
@@ -0,0 +0,0 @@ public class ChunkHolder {
|
|
||||||
this.a(world, blockposition, iblockdata);
|
|
||||||
} else {
|
|
||||||
LevelChunkSection chunksection = chunk.getSections()[j];
|
|
||||||
+ if (chunksection == null) chunksection = new LevelChunkSection(sectionposition.getY(), chunk, world, true); // Paper - make a new chunk section if none was found
|
|
||||||
ClientboundSectionBlocksUpdatePacket packetplayoutmultiblockchange = new ClientboundSectionBlocksUpdatePacket(sectionposition, shortset, chunksection, this.resendLight);
|
|
||||||
|
|
||||||
this.broadcast(packetplayoutmultiblockchange, false);
|
|
Loading…
Reference in New Issue
Block a user