neumond / python-computer-craft

Pythonization of ComputerCraft Minecraft mod. Write Python instead Lua!
MIT License
71 stars 7 forks source link

turtle.getItemDetail() not working properly #10

Open Y-ttr opened 3 years ago

Y-ttr commented 3 years ago

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