13
0
geforkt von Mirrors/Paper

Remove bad condition in async lighting check

Dieser Commit ist enthalten in:
Byteflux 2015-07-10 03:20:10 -07:00
Ursprung edfdff2218
Commit c3a07a7060

Datei anzeigen

@ -141,7 +141,7 @@ index b681a9f..8ee0cec 100644
+ 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;
+ }
+