mover cant move inventory of battery_0/1/2

master
rnd 2018-07-04 22:56:24 +02:00
parent 086871b65f
commit e061c6b6ca
2 changed files with 4 additions and 2 deletions

View File

@ -79,7 +79,9 @@ basic_machines.no_teleport_table = {
basic_machines.limit_inventory_table = { -- node name = {list of bad inventories to take from}
["basic_machines:autocrafter"]= {["recipe"]=1, ["output"]=1},
["basic_machines:constructor"]= {["recipe"]=1},
["basic_machines:battery"] = {["upgrade"] = 1},
["basic_machines:battery_0"] = {["upgrade"] = 1},
["basic_machines:battery_1"] = {["upgrade"] = 1},
["basic_machines:battery_2"] = {["upgrade"] = 1},
["basic_machines:generator"] = {["upgrade"] = 1},
["basic_machines:mover"] = {["upgrade"] = 1},
["moreblocks:circular_saw"] = {["input"]=1,["recycle"]=1,["micro"]=1,["output"]=1},

View File

@ -5,7 +5,7 @@
local old_is_protected = minetest.is_protected
local round = math.floor;
local machines_TTL=5
local machines_TTL=16
function minetest.is_protected(pos, digger)