mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
refactor a bit
This commit is contained in:
parent
5fdff1f8f6
commit
29021d1178
6 changed files with 14 additions and 6 deletions
|
|
@ -128,6 +128,7 @@ void Block::cloneTo(Block& dst) {
|
|||
for (int i = 0; i < 6; i++) {
|
||||
dst.defaults = defaults;
|
||||
}
|
||||
dst.defaults = defaults;
|
||||
if (variants) {
|
||||
dst.variants = std::make_unique<Variants>(*variants);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue