Added Allow-Deny Rules
This commit is contained in:
@@ -39,3 +39,5 @@ Containers.before.remove(function (userId, container) {
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Containers.allow(CHARACTER_SUBSCHEMA_ALLOW);
|
||||
|
||||
@@ -55,3 +55,5 @@ Items.after.update(function (userId, item, fieldNames, modifier, options) {
|
||||
Attacks.update(attack._id, { $set: {charId: item.charId, enabled: item.equipped, name: item.name} });
|
||||
});
|
||||
}, {fetchPrevious: false});
|
||||
|
||||
Items.allow(CHARACTER_SUBSCHEMA_ALLOW);
|
||||
|
||||
Reference in New Issue
Block a user