Added note to activate that it can be disabled.

master
Robert Zenz 2015-11-08 17:41:47 +01:00
parent 664b7c0af0
commit fabad15803
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ autodrops = {
}
-- Activates the autodrops system.
-- Activates the autodrops system, if it has not been disabled in
-- configuration by setting "autodrops_active" to false.
function autodrops.activate()
if settings.get_bool("autodrops_active", true) then
minetestex.register_on_nodedrops(autodrops.node_drops_handler)