From bf8eb1aba6f7ce1e4fc2eea8ee66ba3f6c2f0aee Mon Sep 17 00:00:00 2001 From: Byteflux Date: Fri, 10 Jul 2015 03:20:10 -0700 Subject: [PATCH] Remove bad condition in async lighting check --- Spigot-Server-Patches/Configurable-async-light-updates.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/Configurable-async-light-updates.patch b/Spigot-Server-Patches/Configurable-async-light-updates.patch index 08732898d3..48ac4ac3fa 100644 --- a/Spigot-Server-Patches/Configurable-async-light-updates.patch +++ b/Spigot-Server-Patches/Configurable-async-light-updates.patch @@ -141,7 +141,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + int x = position.getX(); + int z = position.getZ(); + final Chunk chunk = this.getChunkIfLoaded(x >> 4, z >> 4); -+ if (chunk == null || (!chunk.world.paperSpigotConfig.useAsyncLighting && !chunk.areNeighborsLoaded(1))) { ++ if (chunk == null || !chunk.areNeighborsLoaded(1)) { + return false; + } +