mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Remove bad condition in async lighting check
This commit is contained in:
parent
9da2e5eff7
commit
bf8eb1aba6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue