Use BYTE Win Typedef instead of byte typedef from Minecraft.World

This commit is contained in:
GabsPuNs
2026-05-10 21:03:03 -04:00
parent 20d395b88d
commit 3e7983ab3c
216 changed files with 798 additions and 800 deletions

View File

@@ -144,12 +144,12 @@ void LargeCaveFeature::addTunnel(int64_t seed, int xOffs, int zOffs, byteArray b
{
if (yy < 10)
{
blocks[p] = static_cast<byte>(Tile::lava_Id);
blocks[p] = static_cast<BYTE>(Tile::lava_Id);
}
else
{
blocks[p] = static_cast<byte>(0);
if (hasGrass && blocks[p - 1] == Tile::dirt_Id) blocks[p - 1] = (byte) level->getBiome(xx + xOffs * 16, zz + zOffs * 16)->topMaterial;
blocks[p] = static_cast<BYTE>(0);
if (hasGrass && blocks[p - 1] == Tile::dirt_Id) blocks[p - 1] = (BYTE) level->getBiome(xx + xOffs * 16, zz + zOffs * 16)->topMaterial;
}
}
}