Fixed some media file issues, fixed bug in heated coal block gas.
This commit is contained in:
parent
923154fc55
commit
78be4a6470
@ -279,10 +279,15 @@ function sz_pos:light(...)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Get the metadata reference for this node position.
|
-- Get the metadata reference for this node position.
|
||||||
function sz_pos:meta(n)
|
function sz_pos:meta()
|
||||||
return minetest.get_meta(self)
|
return minetest.get_meta(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Get the inventory for this node position.
|
||||||
|
function sz_pos:inv()
|
||||||
|
return self:meta():get_inventory()
|
||||||
|
end
|
||||||
|
|
||||||
-- Shortcuts for some minetest utility functions.
|
-- Shortcuts for some minetest utility functions.
|
||||||
sz_pos.node_swap = minetest.swap_node
|
sz_pos.node_swap = minetest.swap_node
|
||||||
sz_pos.light = minetest.get_node_light
|
sz_pos.light = minetest.get_node_light
|
||||||
|
Loading…
x
Reference in New Issue
Block a user