Skip to content

Commit 23ecad7

Browse files
committed
fix: show /execute command syntax on data pack export popup
Fixes #334
1 parent a7d5d96 commit 23ecad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/datapack_export/datapack_export.gml

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function datapack_export() {
189189
instance_destroy()
190190
}
191191

192-
if (language != 1) message("Data pack saved!" + br + br + "To play the song in-game, use:" + br + br + "/function " + functionpath + "play" + br + "/function " + functionpath + "pause" + br + "/function " + functionpath + "stop" + br + br + "If you wish to uninstall it from" + br + "your world, run:" + br + br + "/function " + functionpath + "uninstall" + br + br + "and then remove it from the " + br + "'datapacks' folder.","Data Pack Export")
192+
if (language != 1) message("Data pack saved!" + br + br + br + "To play the song in-game, use:" + br + br + "/function " + functionpath + "play" + br + "/function " + functionpath + "pause" + br + "/function " + functionpath + "stop" + br + br + br + "To play the song using a command block or function, use:" + br + br + "/execute as @p at @s run function " + functionpath + "play" + br + br + "(Replace @p with the player(s) you want to play the song to.)" + br + br + br + "If you wish to uninstall it from your world, run:" + br + br + "/function " + functionpath + "uninstall" + br + br + "and then remove it from the 'datapacks' folder.","Data Pack Export")
193193
else message("数据包已保存!" + br + br + "如想在游戏内播放,使用命令:" + br + br + "/function " + functionpath + "play" + br + "/function " + functionpath + "pause" + br + "/function " + functionpath + "stop" + br + br + "如果你想从你的世界中卸载它," + br + "使用命令:" + br + br + "/function " + functionpath + "uninstall" + br + br + "然后从“datapacks”文件夹" + br + "取出就行了。","导出数据包")
194194
window = w_datapack_export
195195

0 commit comments

Comments
 (0)