diff --git a/README.md b/README.md index 68fd56a..0bab3c3 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,5 @@ jungle trees mod, and big contributions by RealBadAngel. Brought together into one mod and made L-systems compatible by Vanessa Ezekowitz. -Dependencies: `default` +Dependencies: `xcompat` +see mod.conf for more diff --git a/node_defs.lua b/node_defs.lua index 979656a..be6e934 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -445,7 +445,7 @@ for i in ipairs(moretrees.treelist) do groups = regular_groups, sounds = xcompat.sounds.node_sound_default(), on_place = function(itemstack, placer, pointed_thing) - itemstack = default.sapling_on_place(itemstack, placer, pointed_thing, + itemstack = xcompat.functions.sapling_on_place(itemstack, placer, pointed_thing, "moretrees:" ..treename.. "_sapling", -- minp, maxp to be checked, relative to sapling pos -- minp_relative.y = 1 because sapling pos has been checked @@ -505,7 +505,7 @@ for i in ipairs(moretrees.treelist) do sounds = xcompat.sounds.node_sound_default(), drop = "moretrees:"..treename.."_sapling", on_place = function(itemstack, placer, pointed_thing) - itemstack = default.sapling_on_place(itemstack, placer, pointed_thing, + itemstack = xcompat.functions.sapling_on_place(itemstack, placer, pointed_thing, "moretrees:" ..treename.. "_sapling_ongen", -- minp, maxp to be checked, relative to sapling pos -- minp_relative.y = 1 because sapling pos has been checked