vjurenka / BWMirror-Generator

Generator for BwMirror API
Other
7 stars 7 forks source link

unit.getUnitsInWeaponRange(weapon) crashes VM #5

Open OpenBW opened 8 years ago

OpenBW commented 8 years ago

unit.getUnitsInWeaponRange(weapon) consistently crashes the VM.

To my knowledge this can always be reproduced by calling the method as follows: unit.getUnitsInWeaponRange(unit.getType().groundWeapon())