Added spells library
This commit is contained in:
@@ -14,3 +14,12 @@ Meteor.publish("standardLibraryItems", function(categoryKey){
|
||||
sort: {name: 1},
|
||||
});
|
||||
});
|
||||
|
||||
Meteor.publish("standardLibrarySpells", function(level){
|
||||
return LibraryItems.find({
|
||||
library: {$in: standardLibraryIds},
|
||||
level,
|
||||
}, {
|
||||
sort: {name: 1},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user