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:
@ -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;
|
||||
|
Reference in New Issue
Block a user