diff --git a/src/codes/CharacterText/DarkPlasma_CharacterText.ts b/src/codes/CharacterText/DarkPlasma_CharacterText.ts index 305b3a1d..f055aabf 100644 --- a/src/codes/CharacterText/DarkPlasma_CharacterText.ts +++ b/src/codes/CharacterText/DarkPlasma_CharacterText.ts @@ -85,7 +85,7 @@ function Game_Event_CharacterTextMixIn(gameEvent: Game_Event) { }; gameEvent.requestSetupCharacterText = function () { - if (this.hasText()) { + if (this.hasText() && this.page()) { const registerCommand = this.list() .find(command => command.code === 357 && Utils.extractFileName(command.parameters[0]) === pluginName diff --git a/src/codes/CharacterText/config.yml b/src/codes/CharacterText/config.yml index 1a615bd0..041cf0a0 100644 --- a/src/codes/CharacterText/config.yml +++ b/src/codes/CharacterText/config.yml @@ -3,6 +3,9 @@ DarkPlasma_CharacterText: year: 2023 license: MIT histories: + - date: 2024/06/13 + version: 2.0.1 + description: '有効なページがないイベントにメタタグを設定するとエラーになる不具合を修正' - date: 2024/04/21 version: 2.0.0 description: 'シーンが切り替わるとテキストが消える不具合を修正'