Make flowerpot registration possible from other mods
This commit is contained in:
parent
8802188e53
commit
3a933aa081
2
init.lua
2
init.lua
@ -102,7 +102,7 @@ function flowerpot.register_node(nodename)
|
|||||||
|
|
||||||
local dropname = nodename:gsub("grass_%d", "grass_1")
|
local dropname = nodename:gsub("grass_%d", "grass_1")
|
||||||
|
|
||||||
minetest.register_node("flowerpot:" .. name, {
|
minetest.register_node(":flowerpot:" .. name, {
|
||||||
description = S("Flowerpot with @1", desc),
|
description = S("Flowerpot with @1", desc),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "flowerpot.obj",
|
mesh = "flowerpot.obj",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user