1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

Removing all the olds minetest.env calls

- All the minetest.env calls removed

It took me about 2 hours, but I did it, and it works!
This commit is contained in:
LeMagnesium
2014-11-08 18:36:57 +01:00
parent 28c92fbaa8
commit 27836d2835
57 changed files with 442 additions and 441 deletions

View File

@ -30,7 +30,7 @@ computer.register = function ( name, def )
if (def.on_turn_off(pos, node, clicker, itemstack)) then return; end
end
node.name = OFFSTATE;
minetest.env:set_node(pos, node);
minetest.set_node(pos, node);
nodeupdate(pos);
end;
});
@ -55,7 +55,7 @@ computer.register = function ( name, def )
if (def.on_turn_on(pos, node, clicker, itemstack)) then return; end
end
node.name = ONSTATE;
minetest.env:set_node(pos, node);
minetest.set_node(pos, node);
nodeupdate(pos);
end;
drop = ONSTATE;