Skip to content

Commit ec76468

Browse files
authored
Remove invalid sign check (#3328)
* no sign check * revert check
1 parent dc70f93 commit ec76468

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/plugins/blocks.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,10 @@ function inject (bot, { version, storageBuilder, hideErrors }) {
455455
bot.emit('error', new Error('too many lines for sign text'))
456456
return
457457
}
458+
458459
for (let i = 0; i < lines.length; ++i) {
459-
if (lines[i].length > 15) {
460-
bot.emit('error', new Error('signs have max line length 15'))
460+
if (lines[i].length > 45) {
461+
bot.emit('error', new Error('Signs have a maximum of 45 characters per line'))
461462
return
462463
}
463464
}

0 commit comments

Comments
 (0)