fix Block::cloneTo, ItemDef::cloneTo

This commit is contained in:
MihailRis 2025-09-10 01:02:08 +03:00
parent 422d143e7f
commit 4fed90246f
2 changed files with 2 additions and 0 deletions

View File

@ -19,4 +19,5 @@ void ItemDef::cloneTo(ItemDef& dst) {
dst.modelName = modelName;
dst.uses = uses;
dst.usesDisplay = usesDisplay;
dst.tags = tags;
}

View File

@ -155,6 +155,7 @@ void Block::cloneTo(Block& dst) {
dst.tickInterval = tickInterval;
dst.overlayTexture = overlayTexture;
dst.translucent = translucent;
dst.tags = tags;
if (particles) {
dst.particles = std::make_unique<ParticlesPreset>(*particles);
}