mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 01:27:35 +08:00
修复了乐音乐器的execute前缀缺失的问题
This commit is contained in:
parent
99a7564648
commit
b0bdb7b445
@ -17,8 +17,8 @@ Terms & Conditions: License.md in the root directory
|
||||
# 若需转载或借鉴 许可声明请查看仓库目录下的 License.md
|
||||
|
||||
|
||||
__version__ = "1.7.2"
|
||||
__vername__ = "修复部分情况下的崩溃问题"
|
||||
__version__ = "1.7.2.1"
|
||||
__vername__ = "修复指令错误问题"
|
||||
__author__ = (
|
||||
("金羿", "Eilles Wan"),
|
||||
("诸葛亮与八卦阵", "bgArray"),
|
||||
|
@ -688,15 +688,17 @@ class MidiConvert:
|
||||
.replace("(", r"{")
|
||||
.replace(")", r"}")
|
||||
)
|
||||
+ r"playsound {} @s ^ ^ ^{} {}".format(
|
||||
mc_sound_ID, mc_distance_volume, volume_percentage
|
||||
)
|
||||
if note.percussive
|
||||
else r"playsound {} @s ^ ^ ^{} {} {}".format(
|
||||
mc_sound_ID,
|
||||
mc_distance_volume,
|
||||
volume_percentage,
|
||||
mc_pitch,
|
||||
+ (
|
||||
r"playsound {} @s ^ ^ ^{} {}".format(
|
||||
mc_sound_ID, mc_distance_volume, volume_percentage
|
||||
)
|
||||
if note.percussive
|
||||
else r"playsound {} @s ^ ^ ^{} {} {}".format(
|
||||
mc_sound_ID,
|
||||
mc_distance_volume,
|
||||
volume_percentage,
|
||||
mc_pitch,
|
||||
)
|
||||
)
|
||||
),
|
||||
annotation=(
|
||||
@ -791,15 +793,17 @@ class MidiConvert:
|
||||
SingleCommand(
|
||||
command=(
|
||||
self.execute_cmd_head.format(player_selector)
|
||||
+ r"playsound {} @s ^ ^ ^{} {}".format(
|
||||
mc_sound_ID, mc_distance_volume, volume_percentage
|
||||
)
|
||||
if note.percussive
|
||||
else r"playsound {} @s ^ ^ ^{} {} {}".format(
|
||||
mc_sound_ID,
|
||||
mc_distance_volume,
|
||||
volume_percentage,
|
||||
mc_pitch,
|
||||
+ (
|
||||
r"playsound {} @s ^ ^ ^{} {}".format(
|
||||
mc_sound_ID, mc_distance_volume, volume_percentage
|
||||
)
|
||||
if note.percussive
|
||||
else r"playsound {} @s ^ ^ ^{} {} {}".format(
|
||||
mc_sound_ID,
|
||||
mc_distance_volume,
|
||||
volume_percentage,
|
||||
mc_pitch,
|
||||
)
|
||||
)
|
||||
),
|
||||
annotation=(
|
||||
|
Loading…
Reference in New Issue
Block a user