mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/LegacyNetherFork.git
synced 2026-05-21 22:44:59 +00:00
Update NetherWartTile.cpp
This commit is contained in:
@@ -34,11 +34,15 @@ void NetherWartTile::tick(Level *level, int x, int y, int z, Random *random)
|
||||
int age = level->getData(x, y, z);
|
||||
if (age < MAX_AGE)
|
||||
{
|
||||
//Biome *biome = biomeSource->getBiome(x, z);
|
||||
//if (dynamic_cast<HellBiome *>(biome) != NULL)
|
||||
//{
|
||||
if (random->nextInt(10) == 0)
|
||||
{
|
||||
age++;
|
||||
level->setData(x, y, z, age, Tile::UPDATE_CLIENTS);
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
Bush::tick(level, x, y, z, random);
|
||||
|
||||
Reference in New Issue
Block a user