fix crash
This commit is contained in:
parent
8d4ff14928
commit
861788a6a9
@ -8,7 +8,7 @@ else
|
|||||||
S = function ( s ) return s end
|
S = function ( s ) return s end
|
||||||
end
|
end
|
||||||
|
|
||||||
function ilights:node_is_owned(pos, placer)
|
function ilights.node_is_owned(pos, placer)
|
||||||
local ownername = false
|
local ownername = false
|
||||||
if type(IsPlayerNodeOwner) == "function" then -- node_ownership mod
|
if type(IsPlayerNodeOwner) == "function" then -- node_ownership mod
|
||||||
if HasOwner(pos, placer) then -- returns true if the node is owned
|
if HasOwner(pos, placer) then -- returns true if the node is owned
|
||||||
|
Loading…
x
Reference in New Issue
Block a user