Skip to content

Commit

Permalink
Revert "one day, blockly, there will be a very very very old and tire…
Browse files Browse the repository at this point in the history
…d man who will come up to your door and knock three times. this man will ask to some inside for food and rest. if you let this man inside then three of your children will go missing the following weeks. after this slowly the pieces of wood that make up your house will one by one go missing. if you do not let the man in, then in your sleep you will be locked into your room, tighed down to your bed, and your house set aflame"

This reverts commit 3707e42.
  • Loading branch information
JeremyGamer13 committed Apr 19, 2024
1 parent 784e552 commit 6480d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ Blockly.Block.prototype.appendInput_ = function(type, name, opt_defaultBlock) {
if (opt_defaultBlock) {
var newBlock = this.workspace.newBlock(opt_defaultBlock.type)
newBlock.initSvg()
if (typeof type.value !== 'undefined' && newBlock.inputList[0] && newBlock.inputList[0].fieldRow[0] && newBlock.inputList[0].fieldRow[0].setValue) newBlock.inputList[0].fieldRow[0].setValue(type.value)
if (typeof type.value !== 'undefined') newBlock.inputList[0]?.fieldRow?.[0]?.setValue?.(type.value)
newBlock.setShadow(true)
newBlock.outputConnection.connect(connection)
newBlock.render()
Expand Down

0 comments on commit 6480d2e

Please sign in to comment.