I did mean line 21, I had forgotten that I had placed another line in for debugging. Its funny that you said that I should just run them as regular APIs since that is what I just got finished testing right before checking the post and it worked, so thank you for your advice although I did it differently which leads me to my next question...
what is the difference between
setFuelSource = function () print("in fuel") for i = 1, #this.fuel_sources do if learn.known(this.fuel_sources[i]) then print("I have ", this.fuel_sources[i]) end end end
and
function setFuelSource() print("in fuel") LearnAPI.scan() for i = 1, #fuel_sources do if LearnAPI.known(fuel_sources[i]) then print("I have ", fuel_sources[i]) end end end
They both work so I dont really know the difference or is it more just a personal preference kind of thing? Thanks again for all your help.