mirror of
https://github.com/pyrollo/digiterms.git
synced 2025-01-09 17:10:20 +01:00
Fixed bug: make 'off' monitors drop 'on' monitors
This commit is contained in:
parent
c28da681bf
commit
3f0043e331
@ -152,7 +152,7 @@ function digiterms.register_monitor(
|
|||||||
minetest.register_node(nodename, superpose_table(ndef, nodedefon))
|
minetest.register_node(nodename, superpose_table(ndef, nodedefon))
|
||||||
|
|
||||||
-- Register the corresponding Off node
|
-- Register the corresponding Off node
|
||||||
ndef.drops = nodename
|
ndef.drop = nodename
|
||||||
ndef.groups.not_in_creative_inventory = 1
|
ndef.groups.not_in_creative_inventory = 1
|
||||||
ndef.on_destruct = nil
|
ndef.on_destruct = nil
|
||||||
ndef.on_punch = function(pos, node)
|
ndef.on_punch = function(pos, node)
|
||||||
|
Loading…
Reference in New Issue
Block a user