mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-24 11:44:39 +00:00
TU24
This commit is contained in:
@@ -88,7 +88,7 @@ void Sapling::growTree(Level *level, int x, int y, int z, Random *random)
|
||||
if (isSapling(level, x + ox, y, z + oz, TYPE_JUNGLE) && isSapling(level, x + ox + 1, y, z + oz, TYPE_JUNGLE) && isSapling(level, x + ox, y, z + oz + 1, TYPE_JUNGLE)
|
||||
&& isSapling(level, x + ox + 1, y, z + oz + 1, TYPE_JUNGLE))
|
||||
{
|
||||
f = new MegaTreeFeature(true, 10 + random->nextInt(20), LogTile::JUNGLE_TRUNK, LeafTile::JUNGLE_LEAF);
|
||||
f = new MegaTreeFeature(true, 10 + random->nextInt(20), TreeTile::JUNGLE_TRUNK, LeafTile::JUNGLE_LEAF);
|
||||
multiblock = true;
|
||||
break;
|
||||
}
|
||||
@@ -101,7 +101,7 @@ void Sapling::growTree(Level *level, int x, int y, int z, Random *random)
|
||||
if (f == nullptr)
|
||||
{
|
||||
ox = oz = 0;
|
||||
f = new TreeFeature(true, 4 + random->nextInt(7), LogTile::JUNGLE_TRUNK, LeafTile::JUNGLE_LEAF, false);
|
||||
f = new TreeFeature(true, 4 + random->nextInt(7), TreeTile::JUNGLE_TRUNK, LeafTile::JUNGLE_LEAF, false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user