implement player entity

This commit is contained in:
MihailRis
2024-07-08 18:45:35 +03:00
parent 49aa64a033
commit 487ba84517
8 changed files with 24 additions and 12 deletions
+1
View File
@@ -439,6 +439,7 @@ void ContentLoader::load() {
stats->totalItems++;
}
}
if (auto entitiesarr = root->list("entities")) {
for (size_t i = 0; i < entitiesarr->size(); i++) {
std::string name = entitiesarr->str(i);