Misc bugfixes

This commit is contained in:
Anuken
2022-05-08 17:07:06 -04:00
parent a7ecdf8aab
commit 668b09e955
19 changed files with 52 additions and 38 deletions

View File

@@ -46,7 +46,7 @@ public class MinimapRenderer{
if(event.tile.block().solid && event.tile.y > 0 && event.tile.isCenter()){
event.tile.getLinkedTiles(t -> {
Tile tile = world.tile(t.x, t.y - 1);
if(tile.block() == Blocks.air){
if(tile != null && tile.block() == Blocks.air){
update(tile);
}
});