Closed doxygen-spammer closed 3 years ago
light_tool.directional_pos() is now unused. Is it part of the API so it should stay, or is it useless now?
I'm too lazy to test, but if you're able to confirm this has been tested I'll merge 👍
I tested it myself. Do you want an independent test, i. e. by someone else?
No I'll take your word for it
This avoids flickering flashlights when the player stands very close to a wall. Flickering happened probably because floor() moved the position to a node corner, and then minetest.get_node() and minetest.set_node() operated on an adjacent node, which is not lightable because it is part of the wall.