mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 18:44:21 +00:00
4ba2507f9d
Extract the per-attack, target-independent context resolution (attacker village/owner tribe and alliance, war references, base flags) into a private helper. Read-only, behaviour-preserving: the three repeated getCachedUser() lookups on the attacker owner are collapsed into one (the user cache makes them idempotent). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>