mirror of
https://github.com/minetest-mods/technic.git
synced 2025-01-26 01:40:34 +01:00
Update cables.lua
This commit is contained in:
parent
bb16fc5fe6
commit
66908c0ff9
@ -206,7 +206,7 @@ function technic.register_cable(tier, size)
|
|||||||
local name = placer:get_player_name()
|
local name = placer:get_player_name()
|
||||||
if minetest.is_protected(pointed_thing.above, name) then
|
if minetest.is_protected(pointed_thing.above, name) then
|
||||||
minetest.record_protection_violation(pos, name)
|
minetest.record_protection_violation(pos, name)
|
||||||
return true
|
return
|
||||||
end
|
end
|
||||||
local node = minetest.get_node_or_nil(pointed_thing.above)
|
local node = minetest.get_node_or_nil(pointed_thing.above)
|
||||||
if node then
|
if node then
|
||||||
|
Loading…
Reference in New Issue
Block a user