forked from Mirrorlandia_minetest/mesecons
Fix burnt luacontroller, nodebox + crash
This commit is contained in:
parent
0e3aa57ed3
commit
085b4d8bb7
@ -590,7 +590,7 @@ minetest.register_node(BASENAME .. "_burnt", {
|
|||||||
drop = BASENAME.."0000",
|
drop = BASENAME.."0000",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
selection_box = selectionbox,
|
selection_box = selectionbox,
|
||||||
node_box = nodebox,
|
node_box = node_box,
|
||||||
on_construct = reset_meta,
|
on_construct = reset_meta,
|
||||||
on_receive_fields = on_receive_fields,
|
on_receive_fields = on_receive_fields,
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
@ -599,7 +599,7 @@ minetest.register_node(BASENAME .. "_burnt", {
|
|||||||
effector = {
|
effector = {
|
||||||
rules = mesecon.rules.flat,
|
rules = mesecon.rules.flat,
|
||||||
action_change = function(pos, _, rule_name, new_state)
|
action_change = function(pos, _, rule_name, new_state)
|
||||||
update_real_portstates(pos, rule_name, new_state)
|
update_real_port_states(pos, rule_name, new_state)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user