Minor light optimization
This commit is contained in:
@@ -218,8 +218,9 @@ public class BlockRenderer implements Disposable{
|
|||||||
addRequest(tile, Layer.block);
|
addRequest(tile, Layer.block);
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO don't add at daytime / disabled lights
|
if(state.rules.darkness){
|
||||||
addRequest(tile, Layer.lights);
|
addRequest(tile, Layer.lights);
|
||||||
|
}
|
||||||
|
|
||||||
if(block.expanded || !expanded){
|
if(block.expanded || !expanded){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user