diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-10-18 23:27:46 -0600 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-10-18 23:27:46 -0600 |
commit | f53a79fe34c63acb388e17b3a73eca5b1a54d854 (patch) | |
tree | 97d6475eed95174e077352882d8140256362dd3a | |
parent | dbb0d51de5dcc46c558f7c14e73ce610c1806d77 (diff) |
support farming_plus plants.
-rw-r--r-- | init.lua | 3 | ||||
-rw-r--r-- | util_item_place_node.lua | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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, } diff --git a/util_item_place_node.lua b/util_item_place_node.lua index 5d7a7d9..049bf71 100644 --- a/util_item_place_node.lua +++ b/util_item_place_node.lua @@ -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 |