Releases: sandstone-mc/sandstone
Releases · sandstone-mc/sandstone
Fixed \n in /say not working
Fixed \n
in /say
resulting in newlines inside the function file, resulting into invalid commands.
Fixed web-related bugs
Fixed 2 web-related bugs:
- Fixed Datapack.reset invalidating previously imported libraries, by overriding previous commandsRoot
- Fixed Datapack.reset not resetting conditions IDs to 0
Fixed a bug
Fixed Objective.get
throwing an error.
Miscellaneous changes
Changelog:
- Fixed one
spreadplayers
overload being incorrectly typed ; - Fixed
Datapack.reset
not resetting Variable IDs.
Fixed several command-related bugs
Changelog:
- Fixed
spreadplayers
expectingx
,y
andz
coordinates instead of justx
andz
; - Fixed
team.remove
throwing an error ; - Fixed
bossbar.set
throwing an error ; - Fixed built-in documentation using
createObjective
instead ofObjective.create
(thanks to @ncklwse).
Added Datapack.reset, and fixed some problems with browsers
Added Datapack.reset for external tools, and fixed some problems with browsers.
Removed dependency on fs when using a custom file handler
Removed dependency on fs when using a custom file handler, for better browser support
Fixed a problem with _.elseIf
This small release fixes a bug where a while nested in an elseIf wouldn't work.
Fixed NBT problems
This release fixes 2 major bugs:
- Fixed
Score.set
incorrectly infering custom NBTs, and outputing the wrong command in result. - Fixed NBT arrays (like
NBT.double([0, 1.5, 0])
) not being properly stringified, resulting in an incorrect NBT.
Fixed complex NBT strings resulting in template strings.
Changelog:
- You can now directly /tellraw a DataPoint. For example:
const myMotion = Data('entity', '@s').select('Motion')
tellraw('@a', ['My motion is ', myMotion])
- Fixed complex NBT strings resulting in template strings. This corresponds to any string having both a single & double quote. Example:
summon(..., { TestNBT: `This "is" a 'test'` })
// Before:
/summon ... { TestNBT: `This "is" a 'test'` }
// Now:
/summon ... { TestNBT: "This \"is\" a 'test'" }