Skip to content

Commit 88f1a01

Browse files
committed
fix: data pack uninstall function has incorrect raw JSON format
Fixes #454
1 parent e38252c commit 88f1a01

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
@@ -118,7 +118,7 @@ function datapack_export() {
118118
} else {
119119
inputString += "datapack disable \"" + filename_name(fn) + "\"" + br
120120
}
121-
inputString += "tellraw @s [\"\",{\"text\":\"[NBS] \",\"color\":\"gold\",\"bold\":\"true\"},{\"text\":\"Data pack \",\"color\":\"yellow\"},{\"text\":\"" + filename_name(fn) + "\",\"color\":\"gold\",\"underlined\":\"true\"},{\"text\":\" uninstalled successfully. You may now remove it from your data pack folder.\",\"color\":\"yellow\"}]"
121+
inputString += "tellraw @s [\"\",{\"text\":\"[NBS] \",\"color\":\"gold\",\"bold\":true},{\"text\":\"Data pack \",\"color\":\"yellow\"},{\"text\":\"" + filename_name(fn) + "\",\"color\":\"gold\",\"underlined\":true},{\"text\":\" uninstalled successfully. You may now remove it from your data pack folder.\",\"color\":\"yellow\"}]"
122122
dat_writefile(inputString, functiondir + "uninstall.mcfunction")
123123

124124
if (add_teams) {

0 commit comments

Comments
 (0)