Fix nonstandard group expansion
This commit is contained in:
parent
945b07739f
commit
cf8cfbba47
@ -5,14 +5,7 @@ local math_random
|
|||||||
= math.random
|
= math.random
|
||||||
-- LUALOCALS > ---------------------------------------------------------
|
-- LUALOCALS > ---------------------------------------------------------
|
||||||
|
|
||||||
local stackonly = {}
|
local stackonly = nodecore.group_expand("group:is_stack_only", true)
|
||||||
minetest.after(0, function()
|
|
||||||
for k, v in pairs(minetest.registered_items) do
|
|
||||||
if v.groups and v.groups.is_stack_only then
|
|
||||||
stackonly[k] = true
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
|
|
||||||
local function nuke(self)
|
local function nuke(self)
|
||||||
self.itemstring = ""
|
self.itemstring = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user