Refactored creature property methods into separate documents, might have broken a lot of things

This commit is contained in:
Stefan Zermatten
2021-02-04 11:38:29 +02:00
parent 60ea545ee9
commit 449a4fba7d
66 changed files with 882 additions and 710 deletions

View File

@@ -0,0 +1,5 @@
import Creatures from '/imports/api/creature/Creatures.js';
export default function getRootCreatureAncestor(property){
return Creatures.findOne(property.ancestors[0].id);
}