// We can't override this function on new Blockly because it's a not exported.
// It isn't referenced anywhere outside procedures.js, so this shouldn't cause issues.
// ---
// Trick Scratch into thinking addon blocks are defined somewhere.
// This makes Scratch's "is this procedure used anywhere" check work when addon blocks exist.
// getDefineBlock is used in https://github.com/scratchfoundation/scratch-blocks/blob/37f12ae3e342480f4d8e7b6ba783c46e29e77988/core/block_dragger.js#L275-L297
// and https://github.com/scratchfoundation/scratch-blocks/blob/develop/core/procedures.js
// Only block_dragger.js should be able to reference addon blocks, but if procedures.js does
// somehow, we shim enough of the API that things shouldn't break.