diff --git a/module/sheets/base-actor-sheet.js b/module/sheets/base-actor-sheet.js index 5b2b651..72ea9b9 100644 --- a/module/sheets/base-actor-sheet.js +++ b/module/sheets/base-actor-sheet.js @@ -752,12 +752,9 @@ export default class DGActorSheet extends DGSheetMixin(ActorSheetV2) { */ _onItemCreate(type) { // Initialize a default name. - const name = game.i18n.format( - game.i18n.translations.DOCUMENT?.New || "DG.FallbackText.newItem", - { - type: game.i18n.localize(`TYPES.Item.${type}`), - }, - ); + const name = game.i18n.format("DG.FallbackText.newItem", { + type: game.i18n.localize(`TYPES.Item.${type}`), + }); // Prepare the item object. const itemData = {