3
0

忽视亮度计算,直接卸载区块

This commit is contained in:
2017-08-03 08:30:13 +08:00
parent d099177983
commit 7072589e28
2 changed files with 24 additions and 28 deletions

View File

@ -94,7 +94,7 @@
{
+ // PaperSpigot start - Asynchronous lighting updates
+ Chunk chunk = this.getChunkIfLoaded(p_73241_1_,p_73241_2_);
+ if (chunk != null && chunk.worldObj.spigotConfig.useAsyncLighting && (chunk.pendingLightUpdates.get() > 0 || chunk.worldObj.getTotalWorldTime() - chunk.lightUpdateTime < 20)) {
+ if (chunk == null) {
+ return;
+ }
+ // PaperSpigot end