-
-
Save octacian/ed7a33af01e62c0f9c8be02ae84fadfa to your computer and use it in GitHub Desktop.
ME Power
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function technic.get_or_load_node(pos) | |
local node = minetest.get_node_or_nil(pos) | |
if node then return node end | |
local vm = VoxelManip() | |
local MinEdge, MaxEdge = vm:read_from_map(pos, pos) | |
return minetest.get_node(pos) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment