mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-16 06:52:19 +00:00
TU24
This commit is contained in:
@@ -54,7 +54,7 @@ bool CocoaTile::canSurvive(Level *level, int x, int y, int z)
|
||||
z += Direction::STEP_Z[dir];
|
||||
int attachedTo = level->getTile(x, y, z);
|
||||
|
||||
return attachedTo == Tile::treeTrunk_Id && Tile::treeTrunk->getWoodType(level->getData(x, y, z)) == LogTile::JUNGLE_TRUNK;
|
||||
return attachedTo == Tile::treeTrunk_Id && TreeTile::getWoodType(level->getData(x, y, z)) == TreeTile::JUNGLE_TRUNK;
|
||||
}
|
||||
|
||||
int CocoaTile::getRenderShape()
|
||||
|
||||
Reference in New Issue
Block a user