Aktualizovat „basic_machines/technic_power.lua“

This commit is contained in:
Milan2018 2020-04-24 19:56:19 +02:00
parent c90aca15a9
commit f0dd4e0f59

View file

@ -269,7 +269,7 @@ minetest.register_node("basic_machines:battery_0", {
can_dig = function(pos)
local meta = minetest.get_meta(pos);
if meta:get_int("upgrade")~=0 then return false else return true end
end
end,
tube = {
insert_object = function(pos, node, stack, direction)
@ -404,7 +404,7 @@ minetest.register_node("basic_machines:generator", {
can_dig = function(pos)
local meta = minetest.get_meta(pos);
if meta:get_int("upgrade")~=0 then return false else return true end
end
end,
tube = {
insert_object = function(pos, node, stack, direction)