mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
'dynamic' namespace refactor + sensitivity is a NumberSetting now
This commit is contained in:
parent
398347bd81
commit
48982e3478
14 changed files with 168 additions and 140 deletions
|
|
@ -608,7 +608,7 @@ void WorldFiles::removePack(const World* world, const std::string& id) {
|
|||
if (name.find(prefix) != 0)
|
||||
continue;
|
||||
auto value = blocks->getValueWriteable(i);
|
||||
*value->value.str = "core:air";
|
||||
value->value = "core:air";
|
||||
}
|
||||
|
||||
auto items = root->list("items");
|
||||
|
|
@ -617,7 +617,7 @@ void WorldFiles::removePack(const World* world, const std::string& id) {
|
|||
if (name.find(prefix) != 0)
|
||||
continue;
|
||||
auto value = items->getValueWriteable(i);
|
||||
*value->value.str = "core:empty";
|
||||
value->value = "core:empty";
|
||||
}
|
||||
files::write_json(getIndicesFile(), root.get());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue