Don't use luaL_checkstring to read node names, it's only for arguments
authorShadowNinja <shadowninja@minetest.net>
Sun, 8 Mar 2015 01:01:59 +0000 (20:01 -0500)
committerShadowNinja <shadowninja@minetest.net>
Sun, 8 Mar 2015 01:04:01 +0000 (20:04 -0500)
commitd75a0a73941259ea3ebac297803838094c7d458f
tree225f3e464385e53042a6b1dfa386f08015e9cd04
parent86e9408c9fe07baf384386def1f0c68b2d0cc456
Don't use luaL_checkstring to read node names, it's only for arguments

This caused confusing error messages like "argument #4 to set_node is not a string."
src/script/common/c_content.cpp