fix Block::cloneTo, ItemDef::cloneTo
This commit is contained in:
parent
422d143e7f
commit
4fed90246f
@ -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…
x
Reference in New Issue
Block a user