support farming_plus plants.

master
FaceDeer 2017-10-18 23:27:46 -06:00
parent dbb0d51de5
commit f53a79fe34
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,8 @@ digtron.builder_on_place_items = {
-- Then a string prefix is checked, returning this value. Useful for enabling on_placed on a mod-wide basis.
digtron.builder_on_place_prefixes = {
["farming:"] = true,
["farming:"] = true,
["farming_plus:"] = true,
["crops:"] = true,
}

View File

@ -77,7 +77,7 @@ end
digtron.item_place_node = function(itemstack, placer, place_to, param2)
local def = itemstack:get_definition()
if not def or def.type ~= "node" then
if not def then
return itemstack, false
end