runelite
runelite copied to clipboard
npcaggro: half-calibration nonsense
Currently it's possible to half-calibrate the plugin, getting only one of the boxes working. If you half calibrate it, log out, then log back in with the plugin active (i.e. in an area with an NPC its tracking, or with Always active on), it'll throw an error every game tick.
The first commit protects against the error directly: notifyOnce
wasn't being cleared when it should have.
The second commit protects against half-calibrations by not showing the scene overlay and keeping the tutorial overlay visible until both centres are set.
Hopefully this will also make less users confused about the calibration. Hopefully