Merge branch 'main' into update-items

This commit is contained in:
MihailRis
2025-02-18 18:51:11 +03:00
4 changed files with 11 additions and 4 deletions
+4
View File
@@ -587,6 +587,10 @@ void ContentLoader::loadBlockMaterial(
root.at("steps-sound").get(def.stepsSound);
root.at("place-sound").get(def.placeSound);
root.at("break-sound").get(def.breakSound);
root.at("hit-sound").get(def.hitSound);
if (def.hitSound.empty()) {
def.hitSound = def.stepsSound;
}
}
void ContentLoader::loadContent(const dv::value& root) {