Posted 27 April 2015 - 11:02 PM
ok so basically I have this function
And without even running the function I get an error saying Function arguments expected on line 14 (that is the line with the if statement BTW)
function sapSlot()
turtle.select(2)
local data = turtle.getItemDetail(2)
if data.name == minecraft:sapling and data.damage == 2 then
print("test")
end
end
And without even running the function I get an error saying Function arguments expected on line 14 (that is the line with the if statement BTW)