fixed bug in formspec

master
Juraj Vajda 2016-02-02 00:38:47 +01:00
parent 03b5634862
commit 8108835d2d
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ function spawners.create_ore(ore_name, mod_prefix, size, offset, texture, sound_
is_ground_content = true,
groups = {cracky=1,level=2},
on_construct = function(pos)
local meta = minetest.get_meta(pos)
spawners.get_formspec(pos)
pos.y = pos.y + offset
minetest.add_entity(pos,"spawners:dummy_ore_"..ore_name)