File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11function macros () {
22#macro gm_runtime_version " 2022.2.0.487"
3- #macro version_date " 2022.05.23 "
3+ #macro version_date " 2022.05.24 "
44#macro version " 3.10.0-beta.3"
55#macro is_prerelease 1 // remember to change to 0 in the release!
66#macro nbs_version 5
Original file line number Diff line number Diff line change @@ -945,7 +945,7 @@ function schematic_export() {
945945 TAG_Int (" state" , insnum * 26 + 19 )
946946 TAG_End ()
947947 }
948- var soundname, soundpitch;
948+ var soundname, soundpitch, soundnote ;
949949 for (a = 0 ; a < noteblocks; a += 1 ) {
950950 if (o.command_block ) {
951951 TAG_Compound (" nbt" )
@@ -965,7 +965,7 @@ function schematic_export() {
965965 buffer_write_int_be (wid - 1 - noteblocky[a])
966966 buffer_write_int_be (noteblockz[a])
967967 buffer_write_int_be (noteblockx[a])
968- TAG_Int (" state" , 3 + insnum + noteblockins[a] * 25 + noteblocknote[a])
968+ TAG_Int (" state" , 3 + insnum + ( noteblockins[a] * 25 + noteblocknote[a]) * !o. command_block )
969969 TAG_End ()
970970 }
971971 if (chest) {
You can’t perform that action at this time.
0 commit comments