Removed stray console logging
closes Creatures summoned to tabletops from libraries are missing their properties #373
This commit is contained in:
@@ -88,14 +88,11 @@ const addCreaturesFromLibraryToTabletop = new ValidatedMethod({
|
||||
});
|
||||
|
||||
function insertSubProperties(node, creatureId: string) {
|
||||
console.log({ node, })
|
||||
let nodes = LibraryNodes.find({
|
||||
...getFilter.descendants(node),
|
||||
removed: { $ne: true },
|
||||
}).fetch();
|
||||
|
||||
console.log('found nodes', nodes);
|
||||
|
||||
for (const node of nodes) {
|
||||
node.root = {
|
||||
id: creatureId,
|
||||
@@ -116,7 +113,6 @@ function insertSubProperties(node, creatureId: string) {
|
||||
});
|
||||
|
||||
// Insert the creature properties
|
||||
console.log('final nodes', nodes);
|
||||
// @ts-expect-error Batch insert not defined
|
||||
if (nodes.length) CreatureProperties.batchInsert(nodes);
|
||||
return node;
|
||||
|
||||
Reference in New Issue
Block a user