dougbot/bridge
roberts 7199acf149 Fix attack crash: provide empty item when hand is empty
The inventory_transaction packet for attacks includes held_item.
When Doug has nothing in his hand, bot.heldItem is null, causing
"Cannot read properties of null (reading 'network_id')".

Fix: provide a proper empty item object with network_id=0 when
heldItem is null. Attacks now send successfully.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 15:14:19 -05:00
..
lib Fix attack crash: provide empty item when hand is empty 2026-03-30 15:14:19 -05:00
patches Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00
src Add combat debug logging (gameMode, target id, distance) 2026-03-30 14:25:24 -05:00
.gitignore Fix chat, brain stability, MariaDB reconnect, suppress warnings 2026-03-30 12:33:17 -05:00
package-lock.json Rebuild bridge on mineflayer-bedrock — real movement! 2026-03-30 11:56:56 -05:00
package.json Rebuild bridge on mineflayer-bedrock — real movement! 2026-03-30 11:56:56 -05:00
tsconfig.json Phase 1 complete: Doug connects, chats with personality 2026-03-30 02:03:25 -05:00