Bug: /dropadd was incorrectly rejecting players from Minor League affiliates Root Cause: Ownership check used team.id comparison instead of organizational check Fix: Use team.is_same_organization() to properly handle ML/MiL/IL affiliates Before: player.team.id != builder.team.id (fails for WVMiL when user owns WV) After: not builder.team.is_same_organization(player.team) (correctly identifies same org) This brings /dropadd in line with /ilmove implementation which already used the correct organizational check pattern. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| CLAUDE.md | ||
| DESIGN.md | ||
| dropadd.py | ||
| ilmove.py | ||
| management.py | ||
| trade_channel_tracker.py | ||
| trade_channels.py | ||
| trade.py | ||