This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Bubenicek's profile picture

Fuel: 2: attempt to call nil

Started by Bubenicek, 04 July 2015 - 11:45 AM
Bubenicek #1
Posted 04 July 2015 - 01:45 PM
Hi, I have problem with turtle.. I cant fix it .. please help me
Error attempt to call nil
Thanks




while true do
if turtle.reFuel() then
  print("Fuel: "..turtle.getFuelLevel())
end
end
Lyqyd #2
Posted 04 July 2015 - 05:33 PM
Use refuel instead of reFuel.
Bubenicek #3
Posted 04 July 2015 - 06:16 PM
Use refuel instead of reFuel.
Use refuel instead of reFuel.

Thanks bro! Working it.. thank you