PrismarineJS / prismarine-chat

A parser for a minecraft chat message
MIT License
34 stars 21 forks source link

TypeError: Cannot read properties of undefined (reading 'formatString') #92

Closed anch0vie closed 3 months ago

anch0vie commented 1 year ago

Describe the bug Every time the bot receives chat, whether from the chat automation of the bot itself or other players, the bot crashes.

To Reproduce Steps to reproduce the behavior:

  1. Create an offline mode server with Purpur server software.
  2. Launch the server.
  3. Activate the AFK bot made by urFate.
  4. Wait for the bot receives chat.
  5. Crash.

Crash log https://pastebin.com/hB7iZu0z

Expected behavior The bot should run with no crashes.

*Bot config https://pastebin.com/cDzraSZH

Additional information This issue was already submitted to AFK bot's github page but the developer made me submit it here since he said the problem comes from here.

frej4189 commented 1 year ago

Update your dependencies