Merge branch '0.5.25-release' into character-generator

This commit is contained in:
Melon-PieldeSapo
2025-01-07 20:04:03 +01:00
+3 -3
View File
@@ -144,21 +144,21 @@ export class DLActorGenerator extends FormApplication {
async rollPatch(html) {
if (this.patchTable == null) {
if (!this.patchTable) {
ui.notifications.error(game.i18n.localize("Mosh.CharacterGenerator.Error.NoClass"));
}
await this.rollTable(html, "system.class.patch", this.patchTable);
}
async rollTrinket(html) {
if (this.trinketTable == null) {
if (!this.trinketTable) {
ui.notifications.error(game.i18n.localize("Mosh.CharacterGenerator.Error.NoClass"));
}
await this.rollTable(html, "system.class.trinket", this.trinketTable);
}
async rollLoadout(html) {
if (this.loadoutTable == null) {
if (!this.loadoutTable) {
ui.notifications.error(game.i18n.localize("Mosh.CharacterGenerator.Error.NoClass"));
return;
}