Fixed bug: make 'off' monitors drop 'on' monitors

This commit is contained in:
Pierre-Yves Rollo 2018-12-09 19:59:45 +01:00
parent c28da681bf
commit 3f0043e331
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ function digiterms.register_monitor(
minetest.register_node(nodename, superpose_table(ndef, nodedefon))
-- Register the corresponding Off node
ndef.drops = nodename
ndef.drop = nodename
ndef.groups.not_in_creative_inventory = 1
ndef.on_destruct = nil
ndef.on_punch = function(pos, node)