mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
fix Block::cloneTo, ItemDef::cloneTo
This commit is contained in:
parent
422d143e7f
commit
4fed90246f
2 changed files with 2 additions and 0 deletions
|
|
@ -19,4 +19,5 @@ void ItemDef::cloneTo(ItemDef& dst) {
|
||||||
dst.modelName = modelName;
|
dst.modelName = modelName;
|
||||||
dst.uses = uses;
|
dst.uses = uses;
|
||||||
dst.usesDisplay = usesDisplay;
|
dst.usesDisplay = usesDisplay;
|
||||||
|
dst.tags = tags;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -155,6 +155,7 @@ void Block::cloneTo(Block& dst) {
|
||||||
dst.tickInterval = tickInterval;
|
dst.tickInterval = tickInterval;
|
||||||
dst.overlayTexture = overlayTexture;
|
dst.overlayTexture = overlayTexture;
|
||||||
dst.translucent = translucent;
|
dst.translucent = translucent;
|
||||||
|
dst.tags = tags;
|
||||||
if (particles) {
|
if (particles) {
|
||||||
dst.particles = std::make_unique<ParticlesPreset>(*particles);
|
dst.particles = std::make_unique<ParticlesPreset>(*particles);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue