From d453df6794b29080e4663ce29b418b299d27b7a0 Mon Sep 17 00:00:00 2001 From: oasobi Date: Sun, 3 Nov 2024 23:22:21 +0900 Subject: [PATCH 1/3] Update main.js --- scripts/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/main.js b/scripts/main.js index 1278abb..7edf57d 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -23,7 +23,7 @@ world.afterEvents.playerSpawn.subscribe(e => { e.player.setDynamicProperty("is_display_click_count", DefaultConfig.is_display_click_count); } if (e.player.getDynamicProperty("isEnable") == undefined) { - sourceEntity.setDynamicProperty("isEnable", true); + e.player.setDynamicProperty("isEnable", true); } }) @@ -395,4 +395,4 @@ function initializeConfig(player) { player.setDynamicProperty("scale_notation", DefaultConfig.scale_notation); player.setDynamicProperty("is_display_instrument", DefaultConfig.is_display_instrument); player.setDynamicProperty("is_display_click_count", DefaultConfig.is_display_click_count); -} \ No newline at end of file +} From a981c20eef30f900daa7121893628ac12507c29b Mon Sep 17 00:00:00 2001 From: oasobi Date: Sun, 3 Nov 2024 23:28:28 +0900 Subject: [PATCH 2/3] Update main.js --- scripts/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/main.js b/scripts/main.js index 7edf57d..005ca1c 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -380,9 +380,9 @@ system.afterEvents.scriptEventReceive.subscribe(e => { }) } else if (id == "note:version") { if (sourceEntity.getDynamicProperty("language") == 1) { - sourceEntity.sendMessage("§eNoteBlock+のバージョンは 2.0.1 です。"); + sourceEntity.sendMessage("§eNoteBlock+のバージョンは 2.0.2 です。"); } else { - sourceEntity.sendMessage("§eNoteBlock+ is at version 2.0.1."); + sourceEntity.sendMessage("§eNoteBlock+ is at version 2.0.2."); } } }) From 8eac25db735c12e88e990ad71d20e753260e77d3 Mon Sep 17 00:00:00 2001 From: oasobi Date: Sun, 3 Nov 2024 23:29:27 +0900 Subject: [PATCH 3/3] Update manifest.json --- manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 717492f..a92c12b 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "format_version": 2, "header": { - "name": "Note Block+ v2.0.1", + "name": "Note Block+ v2.0.2", "description": "音ブロックの音階を表示するアドオン。 \nTwitter:@oasoby", "min_engine_version": [ 1, @@ -12,7 +12,7 @@ "version": [ 2, 0, - 1 + 2 ] }, "modules": [