Fix undoumented and removed nodeupdate (#13)
This commit is contained in:
parent
2f74fa2857
commit
179d82444c
@ -162,7 +162,7 @@ computer.register("computer:admiral128", {
|
||||
on_rightclick = function ( pos, node, clicker, itemstack)
|
||||
node.name = "computer:monitor";
|
||||
minetest.set_node(pos, node);
|
||||
nodeupdate(pos)
|
||||
minetest.check_for_falling(pos)
|
||||
end
|
||||
})
|
||||
|
||||
@ -353,7 +353,7 @@ computer.register("computer:admiral128", {
|
||||
on_rightclick = function ( pos, node, clicker, itemstack)
|
||||
node.name = "computer:monitor_on";
|
||||
minetest.set_node(pos, node);
|
||||
nodeupdate(pos)
|
||||
minetest.check_for_falling(pos)
|
||||
end
|
||||
|
||||
})
|
||||
@ -423,7 +423,7 @@ computer.register("computer:admiral128", {
|
||||
on_rightclick = function ( pos, node, clicker, itemstack)
|
||||
node.name = "computer:tower";
|
||||
minetest.set_node(pos, node);
|
||||
nodeupdate(pos)
|
||||
minetest.check_for_falling(pos)
|
||||
end
|
||||
})
|
||||
|
||||
@ -455,7 +455,7 @@ computer.register("computer:admiral128", {
|
||||
on_rightclick = function ( pos, node, clicker, itemstack)
|
||||
node.name = "computer:tower_on";
|
||||
minetest.set_node(pos, node);
|
||||
nodeupdate(pos)
|
||||
minetest.check_for_falling(pos)
|
||||
end
|
||||
})
|
||||
|
||||
@ -533,7 +533,7 @@ minetest.register_node("computer:server", {
|
||||
on_rightclick = function ( pos, node, clicker, itemstack)
|
||||
node.name = "computer:server_on";
|
||||
minetest.set_node(pos, node);
|
||||
nodeupdate(pos)
|
||||
minetest.check_for_falling(pos)
|
||||
end,
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local pos = pointed_thing.above
|
||||
@ -580,7 +580,7 @@ minetest.register_node("computer:server_on", {
|
||||
on_rightclick = function ( pos, node, clicker, itemstack)
|
||||
node.name = "computer:server";
|
||||
minetest.set_node(pos, node);
|
||||
nodeupdate(pos)
|
||||
minetest.check_for_falling(pos)
|
||||
end ,
|
||||
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user