"on [block] placed/broken" always fail with "Oops, don't know this block"
It seems that any MakeCode project using the "on [block] placed" or "on [block] broken" blocks fail and emit a "Oops, don't know this block" error, regardless of the block type chosen.
↓
The corresponding Javascript MakeCode is
blocks.onBlockPlaced(GRASS, function () {player.say(":)")})
This happens regardless of the block, or even if one uses a convoluted thing like
blocks.onBlockBroken(blocks.blockByName(blocks.nameOfBlock(GRASS)), function () {player.say(":O")})
(to maybe avoid some internal inconsistency between these ids.).
I'm shocked that such basic functionality is not automatically tested prior to release...
0
-
Hey there!
Sorry for the inconvenience and thanks for the patience on this. The team is aware of this issue and have recorded a bug report.
0 -
Is there any update on this?
0 -
Hey there,
No I do not believe so, thanks for the patience on this.
0
Please sign in to leave a comment.
Comments
3 comments