mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-07-18 03:50:49 +00:00
fix: compile error
This commit is contained in:
@@ -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&& below != Tile::podzol_Id) return false;
|
||||
if (below != Tile::grass_Id && below != Tile::dirt_Id && below != Tile::sand_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;
|
||||
|
||||
Reference in New Issue
Block a user