This commit is contained in:
GabsPuNs
2026-05-14 21:52:21 -04:00
parent 1b2f5c6fe8
commit f8a2d644f5
291 changed files with 7363 additions and 18368 deletions

View File

@@ -71,12 +71,15 @@ int TorchTile::getRenderShape()
bool TorchTile::isConnection(Level *level, int x, int y, int z)
{
if (level->isTopSolidBlocking(x, y, z))
{
return true;
}
int tile = level->getTile(x, y, z);
if (FenceTile::isFence(tile) || tile == Tile::glass_Id || tile == Tile::cobbleWall_Id)
if (tile == Tile::fence_Id || tile == Tile::netherFence_Id
|| tile == Tile::glass_Id || tile == Tile::cobbleWall_Id)
{
return true;
}
return false;
}