i use gentoo btw

This commit is contained in:
neoapps-dev
2026-04-21 20:04:56 +03:00
parent ac2dcee32a
commit 1beb168ec9
4 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -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);
}
}