File tree 2 files changed +2
-15
lines changed
2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 8
8
- name : lint
9
9
uses : Roang-zero1/factorio-mod-luacheck@master
10
10
with :
11
- luacheckrc_url : https://raw.githubusercontent.com/minetest-mods/technic/master/.luacheckrc
11
+ luacheckrc_url : " "
Original file line number Diff line number Diff line change 14
14
15
15
function technic_homedecor_node_is_owned (pos , placer )
16
16
local ownername = false
17
- if type (IsPlayerNodeOwner ) == " function" then -- node_ownership mod
18
- if HasOwner (pos , placer ) then
19
- if not IsPlayerNodeOwner (pos , placer :get_player_name ()) then
20
- if type (getLastOwner ) == " function" then -- ...is an old version
21
- ownername = getLastOwner (pos )
22
- elseif type (GetNodeOwnerName ) == " function" then -- ...is a recent version
23
- ownername = GetNodeOwnerName (pos )
24
- else
25
- ownername = S (" someone" )
26
- end
27
- end
28
- end
29
-
30
- elseif type (isprotect ) == " function" then -- glomie's protection mod
17
+ if type (isprotect ) == " function" then -- glomie's protection mod
31
18
if not isprotect (5 , pos , placer ) then
32
19
ownername = S (" someone" )
33
20
end
You can’t perform that action at this time.
0 commit comments