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
+1 -1
View File
@@ -56,7 +56,7 @@ bool ReedTile::mayPlace(Level *level, int x, int y, int z)
{
int below = level->getTile(x, y - 1, z);
if (below == id) return true;
if (below != Tile::grass_Id && below != Tile::dirt_Id && below != Tile::sand_Id) return false;
if (below != Tile::grass_Id && below != Tile::dirt_Id && below != Tile::sand_Id&& below != Tile::podzol_Id) return false;
if (level->getMaterial(x - 1, y - 1, z) == Material::water) return true;
if (level->getMaterial(x + 1, y - 1, z) == Material::water) return true;
if (level->getMaterial(x, y - 1, z - 1) == Material::water) return true;