summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cactus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/cactus.lua b/cactus.lua
index cfad203..d86d0d5 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -116,7 +116,7 @@ local function dump_and_refuel()
for i=1,16 do
ch.pullItems(self, i)
end
- if turtle.getFuelLevel() < 1000
+ if turtle.getFuelLevel() < 1000 then
for k,v in pairs(ch.list()) do
if v.name == "minecraft:lava_bucket" then
ch.pushItems(self, k, 1, 1)