When trying to use the custom component I can’t.
-Step to reproduce:
1 Copy the attached behavior pack.
2 Create a word with the behavior pack active.
3 Play on this word.
-Expected result: When I walk on the pad I bump into the sky.
-Observed result:
The block doesn’t work and it throws me a bunch of error
[Scripting][warning]-player/fonction.js is loaded
[Scripting][warning]-player/index.js is loaded
[Scripting][warning]-block/component.js is loaded
[Scripting][warning]-main.js is loaded
[Scripting][error]-TypeError: cannot read property 'registerCustomComponent' of undefined at <anonymous> (block/component.js:8)
[Scripting][warning]-Component 'lethal:bump' was not registered in script but used on a block
[Blocks][warning]-Warning: The blocks.json "format_version" field was not given. "format_version" 1.1.0 will be used.
Attachments
Comments 3
