Skip to content

Commit

Permalink
1.0.1 有効なページがないイベントにメタタグを設定するとエラーになる不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
elleonard committed Feb 15, 2024
1 parent 28bdfa2 commit 7bc29d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/codes/CharacterText/DarkPlasma_CharacterText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ function Game_Character_CharacterTextMixIn(gameCharacter: Game_Character) {
Game_Character_CharacterTextMixIn(Game_Character.prototype);

function Game_Event_CharacterTextMixIn(gameEvent: Game_Event) {
const _setupPage = gameEvent.setupPage;
gameEvent.setupPage = function () {
_setupPage.call(this);
const _setupPageSettings = gameEvent.setupPageSettings;
gameEvent.setupPageSettings = function () {
_setupPageSettings.call(this);
if (this.event().meta.characterText) {
const registerCommand = this.list()
.find(command => command.code === 357
Expand Down
3 changes: 3 additions & 0 deletions src/codes/CharacterText/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ DarkPlasma_CharacterText:
year: 2023
license: MIT
histories:
- date: 2024/02/15
version: 1.0.1
description: '有効なページがないイベントにメタタグを設定するとエラーになる不具合を修正'
- date: 2023/11/01
version: 1.0.0
description: '公開'
Expand Down

0 comments on commit 7bc29d9

Please sign in to comment.