mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-14 22:12:02 +00:00
TU24
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user