stack max 1

master
Juraj Vajda 2016-02-04 19:15:06 +01:00
parent a2701161af
commit 856fe71ca9
2 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,7 @@ function spawners.create(mob_name, mod_prefix, size, offset, mesh, texture, nigh
tiles = {"spawners_spawner.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
stack_max = 1,
on_construct = function(pos)
local random_pos, waiting = spawners.check_node_status(pos, mob_name, night_only)

View File

@ -228,6 +228,7 @@ function spawners.create_ore(ore_name, mod_prefix, size, offset, texture, sound_
tiles = {"spawners_spawner.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
stack_max = 1,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
spawners.get_formspec(pos)