Another small change in my puke function. It should work now
This commit is contained in:
		@@ -202,8 +202,10 @@ end
 | 
			
		||||
function puke()
 | 
			
		||||
  for i = 1, 16 do
 | 
			
		||||
    turtle.select(i)
 | 
			
		||||
    item = turtle.getItemDetail(slot)
 | 
			
		||||
    print("Puking out: " .. item['name'])
 | 
			
		||||
    item = turtle.getItemDetail()
 | 
			
		||||
    if item ~= nil then
 | 
			
		||||
      print("Puking out: " .. item['name'])
 | 
			
		||||
    end
 | 
			
		||||
    turtle.drop()
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user