i use gentoo btw
This commit is contained in:
@@ -59,6 +59,9 @@ void MycelTile::tick(Level *level, int x, int y, int z, Random *random)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Material* above = level->getMaterial(x, y + 1, z);
|
||||
if (above->isSolid() || above->isLiquid()) level->setTileAndUpdate(x, y, z, Tile::dirt_Id);
|
||||
}
|
||||
|
||||
void MycelTile::animateTick(Level *level, int x, int y, int z, Random *random)
|
||||
@@ -71,4 +74,4 @@ void MycelTile::animateTick(Level *level, int x, int y, int z, Random *random)
|
||||
int MycelTile::getResource(int data, Random *random, int playerBonusLevel)
|
||||
{
|
||||
return Tile::dirt->getResource(0, random, playerBonusLevel);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user