Fixes a bug in Cobblemon where the maxPokedexScanningDetectionRange config option was not working properly.
This mod fixes a bug in Cobblemon where the maxPokedexScanningDetectionRange config option was not being properly applied.
In Cobblemon, the Pokedex scanner has a config option maxPokedexScanningDetectionRange that should control how far you can scan Pokemon. However, the entity detection bounding box was hardcoded to 12.0 + zoomLevel instead of using the config value, making the setting ineffective for values greater than 12.
This mod overwrites the detectEntity method in PokemonScanner to use the config value for the bounding box size.
This is a temporary fix until Cobblemon fixes this upstream.