Fix all luacheck warnings #1

Merged
gergely merged 4 commits from luacheck-fixes into main 2025-12-16 20:18:26 +01:00

4 Commits

Author SHA1 Message Date
6f1d331771 Pass the current tool to the stripped_tree.swap_node function
Some checks failed
build / build (pull_request) Waiting to run
build / build (push) Has been cancelled
2025-12-16 19:54:11 +01:00
880a60b7e0 Fix a bug that prevents log stripping with an axe 2025-12-16 19:54:11 +01:00
52c4bc4391 Use core instead of minetest
`core` is the preferred object to use, existing since Minetest 0.4 or something; `minetest` is just a backwards
compatibility alias for it.
2025-12-16 19:54:10 +01:00
fa99e22c79 Add core to the globals list in .luacheckrc 2025-12-09 15:03:28 +01:00