Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
oasoobi committed Nov 4, 2024
2 parents d72416d + 8eac25d commit 0a855b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -12,7 +12,7 @@
"version": [
2,
0,
1
2
]
},
"modules": [
Expand Down
8 changes: 4 additions & 4 deletions scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
})

Expand Down Expand Up @@ -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.");
}
}
})
Expand All @@ -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);
}
}

0 comments on commit 0a855b4

Please sign in to comment.