Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PondWader committed Jun 26, 2023
1 parent d3c01ee commit 8044400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/place_block.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ function inject (bot) {

let newBlock = bot.blockAt(dest)
if (oldBlock.type === newBlock.type) {
[oldBlock, newBlock] = await onceWithCleanup(bot, `blockUpdate:${dest}`, {
[oldBlock, newBlock] = await onceWithCleanup(bot, `blockUpdate:${dest}`, {
timeout: 5000,
checkCondition: (oldBlock, newBlock) => !oldBlock || !newBlock|| oldBlock.type !== newBlock.type
checkCondition: (oldBlock, newBlock) => !oldBlock || !newBlock || oldBlock.type !== newBlock.type
})
}

Expand Down

0 comments on commit 8044400

Please sign in to comment.