mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-11 09:37: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
|
# 若需转载或借鉴 许可声明请查看仓库目录下的 License.md
|
||||||
|
|
||||||
|
|
||||||
__version__ = "1.7.2"
|
__version__ = "1.7.2.1"
|
||||||
__vername__ = "修复部分情况下的崩溃问题"
|
__vername__ = "修复指令错误问题"
|
||||||
__author__ = (
|
__author__ = (
|
||||||
("金羿", "Eilles Wan"),
|
("金羿", "Eilles Wan"),
|
||||||
("诸葛亮与八卦阵", "bgArray"),
|
("诸葛亮与八卦阵", "bgArray"),
|
||||||
|
@ -688,7 +688,8 @@ class MidiConvert:
|
|||||||
.replace("(", r"{")
|
.replace("(", r"{")
|
||||||
.replace(")", r"}")
|
.replace(")", r"}")
|
||||||
)
|
)
|
||||||
+ r"playsound {} @s ^ ^ ^{} {}".format(
|
+ (
|
||||||
|
r"playsound {} @s ^ ^ ^{} {}".format(
|
||||||
mc_sound_ID, mc_distance_volume, volume_percentage
|
mc_sound_ID, mc_distance_volume, volume_percentage
|
||||||
)
|
)
|
||||||
if note.percussive
|
if note.percussive
|
||||||
@ -698,6 +699,7 @@ class MidiConvert:
|
|||||||
volume_percentage,
|
volume_percentage,
|
||||||
mc_pitch,
|
mc_pitch,
|
||||||
)
|
)
|
||||||
|
)
|
||||||
),
|
),
|
||||||
annotation=(
|
annotation=(
|
||||||
"在{}播放{}%的{}噪音".format(
|
"在{}播放{}%的{}噪音".format(
|
||||||
@ -791,7 +793,8 @@ class MidiConvert:
|
|||||||
SingleCommand(
|
SingleCommand(
|
||||||
command=(
|
command=(
|
||||||
self.execute_cmd_head.format(player_selector)
|
self.execute_cmd_head.format(player_selector)
|
||||||
+ r"playsound {} @s ^ ^ ^{} {}".format(
|
+ (
|
||||||
|
r"playsound {} @s ^ ^ ^{} {}".format(
|
||||||
mc_sound_ID, mc_distance_volume, volume_percentage
|
mc_sound_ID, mc_distance_volume, volume_percentage
|
||||||
)
|
)
|
||||||
if note.percussive
|
if note.percussive
|
||||||
@ -801,6 +804,7 @@ class MidiConvert:
|
|||||||
volume_percentage,
|
volume_percentage,
|
||||||
mc_pitch,
|
mc_pitch,
|
||||||
)
|
)
|
||||||
|
)
|
||||||
),
|
),
|
||||||
annotation=(
|
annotation=(
|
||||||
"在{}播放{}%的{}噪音".format(
|
"在{}播放{}%的{}噪音".format(
|
||||||
|
Loading…
Reference in New Issue
Block a user