This commit is contained in:
Dominic Zimmer 2020-07-04 14:23:54 +02:00
parent 8ca3c7fce4
commit d9abd033a0

View File

@ -103,7 +103,7 @@ function selectCobble()
for i = 1,16 do for i = 1,16 do
turtle.select(i) turtle.select(i)
item = turtle.getItemDetail() item = turtle.getItemDetail()
if item["name"] == "minecraft:cobblestone" then if item and item["name"] == "minecraft:cobblestone" then
break break
end end
end end