mirror of
https://github.com/minetest-mods/technic.git
synced 2025-01-11 18:50:19 +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()
|
||||
if minetest.is_protected(pointed_thing.above, name) then
|
||||
minetest.record_protection_violation(pos, name)
|
||||
return true
|
||||
return
|
||||
end
|
||||
local node = minetest.get_node_or_nil(pointed_thing.above)
|
||||
if node then
|
||||
|
Loading…
Reference in New Issue
Block a user