Added cliff support to editor

This commit is contained in:
Anuken
2021-09-05 20:08:02 -04:00
parent 508abba2ec
commit 4da21ba363
6 changed files with 16 additions and 8 deletions

View File

@@ -150,7 +150,7 @@ public class BlockRenderer{
public void checkChanges(){
darkEvents.each(pos -> {
var tile = world.tile(pos);
if(tile != null){
if(tile != null && tile.block().fillsTile){
tile.data = world.getWallDarkness(tile);
}
});