Open The4codeblocks opened 1 year ago
NOTE: THESE COMMITS ARE TAKEN FROM https://github.com/minetest-mods/moreblocks/pull/108. I ONLY RE-PUBLISHED IT TO MAKE IT COMPATIBLE WITH THE CURRENT VERSION.
FULL CREDIT GOES TO @fozolo.
Certain warning.
Oh well.
That "unused value" is actually an initialization empty string.
Is it ok to just make it local node_name
?
Is it ok to just make it
local node_name
?
Sure, but I'm surprised luacheck even complains about it in the first place.
oof
With current code, I'd expect error()
to be called, but it isn't.
Maybe that's the issue.
Commits originally from @fozolo.