From 604e24244c4009503271dccd6aed88f9836334ae Mon Sep 17 00:00:00 2001 From: piebot <164795032+piebotc@users.noreply.github.com> Date: Sat, 14 Mar 2026 07:00:01 +0300 Subject: [PATCH] Fixed Grass spreading to Coarse Dirt and Podzol. --- Minecraft.World/GrassTile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.World/GrassTile.cpp b/Minecraft.World/GrassTile.cpp index 5e015c2b..2f985a55 100644 --- a/Minecraft.World/GrassTile.cpp +++ b/Minecraft.World/GrassTile.cpp @@ -106,7 +106,7 @@ void GrassTile::tick(Level *level, int x, int y, int z, Random *random) int yt = y + random->nextInt(5) - 3; int zt = z + random->nextInt(3) - 1; int above = level->getTile(xt, yt + 1, zt); - if (level->getTile(xt, yt, zt) == Tile::dirt_Id && level->getRawBrightness(xt, yt + 1, zt) >= MIN_BRIGHTNESS && Tile::lightBlock[above] <= 2) + if (level->getTile(xt, yt, zt) == Tile::dirt_Id && level->getData(xt, yt, zt) == 0 && level->getRawBrightness(xt, yt + 1, zt) >= MIN_BRIGHTNESS && Tile::lightBlock[above] <= 2) { level->setTileAndUpdate(xt, yt, zt, Tile::grass_Id); }