minetest-mods / technic

Technic mod for Minetest
Other
145 stars 155 forks source link

Lava cans can waste lava #531

Closed BobFred7 closed 4 years ago

BobFred7 commented 4 years ago

If you have use a full or partially full lava can to place lava, when the pointed node is a lava source node, the lava will disappear from the lava can but will not be placed into the world

NOTE: This might also apply to the water cans, it probably does, however, I haven't tested that, and that isn't as important, as you can make infinite water sources

BobFred7 commented 4 years ago

https://github.com/minetest-mods/technic/blob/master/technic/tools/cans.lua#L65 Might be solved by adding an "if pointed node is can source node type, return" check around here