Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
oasoobi authored Nov 3, 2024
1 parent a6dd94f commit d453df6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 @@ -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 d453df6

Please sign in to comment.