3
0

Make light asynchronous (close #231)

This commit is contained in:
Sergey Shatunov
2016-01-06 01:53:42 +07:00
parent 7f897a021d
commit eb49ce845d
6 changed files with 277 additions and 66 deletions

View File

@ -298,4 +298,11 @@ public class SpigotWorldConfig
maxTntTicksPerTick = getInt( "max-tnt-per-tick", 100 );
log( "Max TNT Explosions: " + maxTntTicksPerTick );
}
public boolean useAsyncLighting;
private void useAsyncLighting()
{
useAsyncLighting = getBoolean( "use-async-lighting", true );
log( "World async lighting: " + useAsyncLighting );
}
}