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

@@ -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()