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

@@ -142,12 +142,12 @@ void DungeonFeature::addTunnel(int xOffs, int zOffs, byteArray blocks, double xC
{
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] = static_cast<byte>(Tile::grass_Id);
blocks[p] = static_cast<BYTE>(0);
if (hasGrass && blocks[p - 1] == Tile::dirt_Id) blocks[p - 1] = static_cast<BYTE>(Tile::grass_Id);
}
}
}