Refactored creature property methods into separate documents, might have broken a lot of things
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import Creatures from '/imports/api/creature/Creatures.js';
|
||||
|
||||
export default function getRootCreatureAncestor(property){
|
||||
return Creatures.findOne(property.ancestors[0].id);
|
||||
}
|
||||
Reference in New Issue
Block a user