Fix some chunks not being sent to the client

This commit is contained in:
Thinkofdeath 2013-12-02 23:44:13 +00:00
parent 9306e0ec10
commit 651dc5f9c4
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From 7f6ffc377f63db0c5bfe0bfb9189e14f2a670270 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 99c30f9..d342f8f 100644
--- a/src/main/java/net/minecraft/server/Chunk.java
+++ b/src/main/java/net/minecraft/server/Chunk.java
@@ -919,6 +919,12 @@ public class Chunk {
}
public boolean k() {
+ // Spigot Start
+ if ( !( this.m && this.done && this.lit ) )
+ {
+ this.b( false );
+ }
+ // Spigot End
return this.m && this.done && this.lit;
}
--
1.8.4.msysgit.0