More empty floor bugfixes

This commit is contained in:
Anuken
2023-07-29 12:10:27 -04:00
parent 6678729401
commit 07c7fd7dec
2 changed files with 1 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ public class Floor extends Block{
Point2 point = Geometry.d8[i];
Tile other = tile.nearby(point);
if(other != null && doEdge(tile, other, other.floor()) && other.floor().cacheLayer == realCache && other.floor().edges() != null){
if(other != null && doEdge(tile, other, other.floor()) && other.floor().cacheLayer == realCache && other.floor().edges() != null && other.floor() != Blocks.empty){
if(!blended.getAndSet(other.floor().id)){
blenders.add(other.floor());