diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/scriptapi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index d25df18cb..a18c144d3 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -352,6 +352,7 @@ static int l_register_node(lua_State *L) f.material.crackiness = 0; f.material.crumbliness = 0; f.material.cuttability = 0; + f.dug_item = std::string("NodeItem \"")+name+"\" 1"; nodedef->set(name, f); return 0; /* number of results */ |