cab333b217
Don't send requests of every player was found in the global api cache SpigotMC/Spigot@841270ff1e Correctly set the response code for the cached lookups and return the ... SpigotMC/Spigot@f170b7899c Don't try and re-set the global api cache on reload SpigotMC/Spigot@b410a00a66 Use a compile time sneaky throw hack. SpigotMC/Spigot@508462b96b Fix a missed rename in WorldGenGroundBush SpigotMC/Spigot@0614d8fae9
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
From 161cdb522267db951b26782afcb45782d21cf0b5 Mon Sep 17 00:00:00 2001
|
|
From: Thinkofdeath <thethinkofdeath@gmail.com>
|
|
Date: Mon, 2 Dec 2013 23:42:09 +0000
|
|
Subject: [PATCH] Fix some chunks not being sent to the client
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/Chunk.java b/src/main/java/net/minecraft/server/Chunk.java
|
|
index ab0af12..b1213f0 100644
|
|
--- a/src/main/java/net/minecraft/server/Chunk.java
|
|
+++ b/src/main/java/net/minecraft/server/Chunk.java
|
|
@@ -961,7 +961,15 @@ public class Chunk {
|
|
}
|
|
|
|
public boolean isReady() {
|
|
- return this.m && this.done && this.lit;
|
|
+ // Spigot Start
|
|
+ /*
|
|
+ * As of 1.7, Mojang added a check to make sure that only chunks which have been lit are sent to the client.
|
|
+ * Unfortunately this interferes with our modified chunk ticking algorithm, which will only tick chunks distant from the player on a very infrequent basis.
|
|
+ * We cannot unfortunately do this lighting stage during chunk gen as it appears to put a lot more noticeable load on the server, than when it is done at play time.
|
|
+ * For now at least we will simply send all chunks, in accordance with pre 1.7 behaviour.
|
|
+ */
|
|
+ return true;
|
|
+ // Spigot End
|
|
}
|
|
|
|
public ChunkCoordIntPair l() {
|
|
--
|
|
1.9.1
|
|
|