Fixed parent.id => parentId

This commit is contained in:
Thaum Rystra
2024-03-26 09:58:01 +02:00
parent 0eb763dc0e
commit 352e89ee9a
13 changed files with 15 additions and 15 deletions

View File

@@ -204,7 +204,7 @@ export function getPropertyChildren(creatureId, property) {
return cloneProps.sort((a, b) => a.left - b.left);
} else {
return CreatureProperties.find({
'parent.id': property._id,
'parentId': property._id,
removed: { $ne: true },
}, {
sort: { order: 1 },