python-computer-craft icon indicating copy to clipboard operation
python-computer-craft copied to clipboard

turtle.getItemDetail() not working properly

Open Y-ttr opened this issue 4 years ago • 0 comments
trafficstars

in lua, althought doesn't seem to be properly documented on the wiki, you can pass 2 arguments to getItemDetail(); the slot number and a boolean to determine if the function should return simple or detailed item information.

Screenshot from 2021-08-26 03-55-47 Screenshot from 2021-08-26 03-56-14

in python trying to pass 2 arguments will raise "TypeError: getItemDetail() takes 1 positional argument but 2 were given" Screenshot from 2021-08-26 03-56-32

Y-ttr avatar Aug 26 '21 08:08 Y-ttr