- equipBestWeapon uses fuzzy substring matching on item names - equipBestArmor uses .includes() instead of .startsWith() for tiers - Both strip minecraft: prefix before comparing - Added periodic inventory check every 5 seconds (playerCollect doesn't fire on Bedrock) — detects new items and auto-equips - evaluateEquipment logs full inventory contents for debugging - All name comparisons are case-insensitive Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| lib | ||
| patches | ||
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||