Add new leaves to all classes.
This commit is contained in:
parent
7b585290fc
commit
7089c5e267
@ -87,7 +87,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((Meta & 0x8) != 0)
|
if ((Meta & 0x8) == 0)
|
||||||
{
|
{
|
||||||
// These leaves have been checked for decay lately and nothing around them changed
|
// These leaves have been checked for decay lately and nothing around them changed
|
||||||
return;
|
return;
|
||||||
|
@ -1384,6 +1384,13 @@ void cChunkMap::ReplaceTreeBlocks(const sSetBlockVector & a_Blocks)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case E_BLOCK_NEW_LEAVES:
|
||||||
|
{
|
||||||
|
if (itr->BlockType == E_BLOCK_NEW_LOG)
|
||||||
|
{
|
||||||
|
Chunk->SetBlock(itr->x, itr->y, itr->z, itr->BlockType, itr->BlockMeta);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} // for itr - a_Blocks[]
|
} // for itr - a_Blocks[]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user