SImplify Dice configuration

This commit is contained in:
Johannes Loher 2021-02-05 03:47:54 +01:00
parent 5598255d6e
commit 52c729c3fa

View file

@ -33,11 +33,8 @@ Hooks.once("init", async function () {
CONFIG.Item.typeLabels = DS4.i18n.itemTypes;
// Configure Dice
CONFIG.Dice.types = [Die, DS4Check]; // TODO(types) fix upstream
CONFIG.Dice.terms = {
...CONFIG.Dice.terms,
s: DS4Check,
};
CONFIG.Dice.types.push(DS4Check); // TODO(types) fix upstream
CONFIG.Dice.terms.s = DS4Check;
// Register system settings
registerSystemSettings();