Finish removing the Range bucket type that was accidentally still able to be created
This commit is contained in:
parent
3fc8b654c7
commit
8f993adb47
6 changed files with 34 additions and 52 deletions
|
|
@ -75,7 +75,7 @@ export class TableCreator extends HandlebarsApplicationMixin(ApplicationV2) {
|
|||
if (this._name.startsWith(`Dice`)) {
|
||||
ctx.createButtonDisabled = !this._name.match(diceNamespacePattern);
|
||||
ctx.typeDisabled = true;
|
||||
ctx.type = BucketTypes.RANGE;
|
||||
ctx.type = BucketTypes.NUMBER;
|
||||
this.#diceNamespaceAlert ??= ui.notifications.info(
|
||||
`Tables in the "Dice" namespace must be formatted as "Dice/dX" where X is the number of sides on the die and are restricted to be ranges 1 to X.`,
|
||||
{ permanent: true },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue