forked from SteamWar/SteamWar
8381cacdf8ec3d09d025cd39bd6f63189361d71d
getHiddenRegion looked the player up in FightTeam.players twice (team, then FightPlayer) on netty threads. A concurrent reset or removePlayer made the second lookup return null, the NPE was swallowed by the global filter and the packet was dropped. Resolve the FightPlayer once and derive team and canEntern from it.
SteamWar
Languages
Java
91.5%
Kotlin
8.1%
Lua
0.3%