diff --git a/example.lua b/example.lua index 018f4cc..64a472f 100644 --- a/example.lua +++ b/example.lua @@ -58,8 +58,8 @@ mobs:register_mob("npcbuildqueue:building_npc", { end local pos = self.object:get_pos() - nbq.schedule_build(self, nbq.modpath .. "/schematics/house.meta.conf", - vector.add(pos, {x = 1, y = 0, z = 1}), "0", 1) + nbq.build_schematic(self, nbq.modpath .. "/schematics/house.meta.conf", + vector.add(pos, {x = 1, y = 0, z = 1}), "0", 0) end, do_custom = nbq.build_process, }) diff --git a/init.lua b/init.lua index 4fd0e09..1d3e6b5 100644 --- a/init.lua +++ b/init.lua @@ -267,4 +267,4 @@ end dofile(modpath.."/metafile.lua") -- Example code ---dofile(modpath.."/example.lua") +dofile(modpath.."/example.lua")