mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix random node definition stuff
This commit is contained in:
parent
d2eed169ae
commit
425db289d5
3 changed files with 9 additions and 4 deletions
|
@ -497,6 +497,9 @@ static int l_register_node(lua_State *L)
|
|||
|
||||
// Default to getting the corresponding NodeItem when dug
|
||||
f.dug_item = std::string("NodeItem \"")+name+"\" 1";
|
||||
|
||||
// Default to unknown_block.png as all textures
|
||||
f.setAllTextures("unknown_block.png");
|
||||
|
||||
/*
|
||||
Read definiton from Lua
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue