mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-08-20 09:57:09 +00:00
Merge remote-tracking branch 'origin/main' into experimental
Some checks failed
Nightly Release / Build Client (push) Has been cancelled
Nightly Release / Build Server (push) Has been cancelled
Nightly Release / Release Client (push) Has been cancelled
Nightly Release / Release Server (push) Has been cancelled
Nightly Release / cleanup (push) Has been cancelled
Some checks failed
Nightly Release / Build Client (push) Has been cancelled
Nightly Release / Build Server (push) Has been cancelled
Nightly Release / Release Client (push) Has been cancelled
Nightly Release / Release Server (push) Has been cancelled
Nightly Release / cleanup (push) Has been cancelled
This commit is contained in:
commit
c86c690501
|
|
@ -122,7 +122,7 @@ void GrassTile::tick(Level *level, int x, int y, int z, Random *random)
|
||||||
}
|
}
|
||||||
|
|
||||||
Material* above = level->getMaterial(x, y + 1, z);
|
Material* above = level->getMaterial(x, y + 1, z);
|
||||||
if (above->isLiquid()) level->setTileAndUpdate(x, y, z, Tile::dirt_Id);
|
if (above->isSolid() || above->isLiquid()) level->setTileAndUpdate(x, y, z, Tile::dirt_Id);
|
||||||
}
|
}
|
||||||
|
|
||||||
int GrassTile::getResource(int data, Random *random, int playerBonusLevel)
|
int GrassTile::getResource(int data, Random *random, int playerBonusLevel)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue