diff options
Diffstat (limited to 'patches/server/0006-MC-Dev-fixes.patch')
-rw-r--r-- | patches/server/0006-MC-Dev-fixes.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/server/0006-MC-Dev-fixes.patch b/patches/server/0006-MC-Dev-fixes.patch index 536a66afb3..168146736c 100644 --- a/patches/server/0006-MC-Dev-fixes.patch +++ b/patches/server/0006-MC-Dev-fixes.patch @@ -109,3 +109,16 @@ index 8eb1aca72df0bca292473e90ecb74159db4fe034..4b4dcee6abe7a6db43638d04665125ee this.goalSelector.addGoal(3, new RangedCrossbowAttackGoal<>(this, 1.0D, 8.0F)); this.goalSelector.addGoal(8, new RandomStrollGoal(this, 0.6D)); this.goalSelector.addGoal(9, new LookAtPlayerGoal(this, Player.class, 15.0F, 1.0F)); +diff --git a/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java b/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java +index e2b72817857a7a203aae4c9de4e01ba1396dc95b..82fc5133325a127890984d51c1381883759eb444 100644 +--- a/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java ++++ b/src/main/java/net/minecraft/world/level/chunk/status/ChunkStatusTasks.java +@@ -153,7 +153,7 @@ public class ChunkStatusTasks { + if (protochunk instanceof ImposterProtoChunk) { + chunk1 = ((ImposterProtoChunk) protochunk).getWrapped(); + } else { +- chunk1 = new LevelChunk(worldserver, protochunk, (chunk1) -> { ++ chunk1 = new LevelChunk(worldserver, protochunk, ($) -> { // Paper - decompile fix + ChunkStatusTasks.postLoadProtoChunk(worldserver, protochunk.getEntities()); + }); + generationchunkholder.replaceProtoChunk(new ImposterProtoChunk(chunk1, false)); |