1
0
Fork 0
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:
Perttu Ahola 2011-11-25 22:06:50 +02:00
parent d2eed169ae
commit 425db289d5
3 changed files with 9 additions and 4 deletions

View file

@ -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