mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-11 13:48:50 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user