Content packs indices auto build + WorldGenerator fix

This commit is contained in:
MihailRis
2023-12-29 14:17:26 +03:00
parent d2a40d31a4
commit 76aeb8e4df
8 changed files with 90 additions and 6 deletions
+4
View File
@@ -238,6 +238,10 @@ JObject& JArray::putObj() {
return *obj;
}
void JArray::remove(size_t index) {
values.erase(values.begin() + index);
}
JObject::~JObject() {
for (auto entry : map) {
delete entry.second;