Bug - Fixed Error with npc_price()

Cool12309

Member
r15323. Tried using npc_price, and got an error and a debug log.

Code:
> ash npc_price($item[1])

Changing "1" to "seal-clubbing club" would get rid of this message ()
Unexpected error, debug log printed.
Script execution aborted (java.lang.ArrayIndexOutOfBoundsException: -1): ()
Returned: void

This is probably the only part needed from the debug log (but I can post the rest if needed)
Code:
at java.util.ArrayList.elementData(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at net.sourceforge.kolmafia.request.ClanLoungeRequest.availableSpeakeasyDrink(ClanLoungeRequest.java:1415)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.npc_price(RuntimeLibrary.java:3848)
 
Top