()
| 55 | } |
| 56 | |
| 57 | function print () { |
| 58 | const [book] = bot.inventory.items().filter(({ name }) => name === 'writable_book') |
| 59 | book.nbt.value.pages.value.value.forEach((page, i) => bot.chat(`Page ${i + 1}: ${page.replace(/§[a-z0-9]/g, '')}`)) |
| 60 | } |
no test coverage detected
searching dependent graphs…