Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retrieve light value from node adjacent to the face clicked on, rathe…
…r than node above. Means lighting values work when inspecting nodes in a wall or overhang, or air under a ceiling/overhang, etc. Also means the same node may report different light values depending on which face you click - which is accurate, but perhaps not made clear by the inspection dialog. minetest.get_node_light() was never returning nil which meant a light level was always displayed by the inspector even in cases where the node at y+1 contained no light value.
- Loading branch information