diff --git a/src/containers/blocks.jsx b/src/containers/blocks.jsx index b659cc7145ce01bc2a7e00060953f39ddc703730..b2648e7b78b37f2298073e09102b0e02d4e4f2fc 100644 --- a/src/containers/blocks.jsx +++ b/src/containers/blocks.jsx @@ -338,7 +338,7 @@ class Blocks extends React.Component { const stageCostumes = stage.getCostumes(); const targetCostumes = target.getCostumes(); const targetSounds = target.getSounds(); - const dynamicBlocksXML = this.props.vm.runtime.getBlocksXML(); + const dynamicBlocksXML = this.props.vm.runtime.getBlocksXML(target); return makeToolboxXML(target.isStage, target.id, dynamicBlocksXML, targetCostumes[targetCostumes.length - 1].name, stageCostumes[stageCostumes.length - 1].name,