diff --git a/crop-farm/farm.lua b/crop-farm/farm.lua index c99f7e1..fba55a7 100644 --- a/crop-farm/farm.lua +++ b/crop-farm/farm.lua @@ -3,6 +3,7 @@ local HEIGHT = 27 local WIDTH = 6 local GROWTH_MAX = 7 local SEED_NAME = "actuallyadditions:item_rice_seed" +local CROP_NAME = "actuallyadditions:block_rice" -- if WIDTH % 2 ~= 0 then @@ -34,7 +35,7 @@ refuel() print("Failed to get block info: "..data) end - if success and data.metadata >= GROWTH_MAX then + if success and data.metadata >= GROWTH_MAX and data.name == CROP_NAME then turtle.digDown() end