Merge remote-tracking branch 'origin/master' into testing

This commit is contained in:
kay27 2021-07-17 21:20:30 +04:00
commit 5be3d77bbd
2 changed files with 434 additions and 580 deletions

File diff suppressed because it is too large Load Diff

View File

@ -120,8 +120,9 @@ minetest.register_node("mcl_nether:netherrack", {
-- Eternal fire on top -- Eternal fire on top
after_destruct = eternal_after_destruct, after_destruct = eternal_after_destruct,
_on_ignite = eternal_on_ignite, _on_ignite = eternal_on_ignite,
on_rightclick = function(pos, node, pointed_thing, player, itemstack) on_rightclick = function(pos, node, pointed_thing, itemstack)
if pointed_thing:get_wielded_item():get_name() == "mcl_dye:white" then if pointed_thing:get_wielded_item():get_name() == "mcl_dye:white" then
itemstack:take_item()
local ni = 0 -- stand for neigbour item local ni = 0 -- stand for neigbour item
for x = pos.x - 1,pos.x + 1 do for x = pos.x - 1,pos.x + 1 do
local node = minetest.get_node({x = x, y = pos.y, z = pos.z}) local node = minetest.get_node({x = x, y = pos.y, z = pos.z})