Fix example

This commit is contained in:
Evert Prants 2018-07-21 12:57:01 +00:00
parent ee4cb7435b
commit 33fa47e7ba
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
2 changed files with 3 additions and 3 deletions

View File

@ -58,8 +58,8 @@ mobs:register_mob("npcbuildqueue:building_npc", {
end end
local pos = self.object:get_pos() local pos = self.object:get_pos()
nbq.schedule_build(self, nbq.modpath .. "/schematics/house.meta.conf", nbq.build_schematic(self, nbq.modpath .. "/schematics/house.meta.conf",
vector.add(pos, {x = 1, y = 0, z = 1}), "0", 1) vector.add(pos, {x = 1, y = 0, z = 1}), "0", 0)
end, end,
do_custom = nbq.build_process, do_custom = nbq.build_process,
}) })

View File

@ -267,4 +267,4 @@ end
dofile(modpath.."/metafile.lua") dofile(modpath.."/metafile.lua")
-- Example code -- Example code
--dofile(modpath.."/example.lua") dofile(modpath.."/example.lua")