3057 posts
Location
United States of America
Posted 28 September 2014 - 09:42 PM
VERSION:
1.64
DESCRIPTION:
turtle.getItemDetail did not error
EXPECTED RESULT:
Calling turtle.getItemDetail without any parameters it errors, saying it expected a number
REPRODUCTION STEPS:
1. Place turtle
2. create this program:
local item = turtle.getItemDetail()
3. run it
SCREENSHOT/VIDEO:
N/A
139 posts
Posted 28 September 2014 - 09:51 PM
When you run it without parameters, it checks the selected slot. Check Dan tweet
3057 posts
Location
United States of America
Posted 28 September 2014 - 09:54 PM
When you run it without parameters, it checks the selected slot. Check Dan tweet
Ah, didn't know that. Annoying for debugging though…
139 posts
Posted 28 September 2014 - 10:17 PM
When you run it without parameters, it checks the selected slot. Check Dan tweet
Ah, didn't know that. Annoying for debugging though…
Just create a dummy function replacing turtle.select that stores what slot is selected
3057 posts
Location
United States of America
Posted 28 September 2014 - 10:53 PM
-snip-
Just create a dummy function replacing turtle.select that stores what slot is selected
No, I mean I put one in a for loop, and forgot to put in the parameter. Took me about 15 minutes to figure out why it wasn't working, since the error was in a different part of my script. (basically, I was attempting to locate certain items)
524 posts
Location
Cambridge, England
Posted 29 September 2014 - 11:26 AM
Not a bug