forked from mtcontrib/factions
Remove un-used code line.
This commit is contained in:
parent
047a0a2a2e
commit
eedb441e9b
@ -958,9 +958,6 @@ minetest.is_protected = function(pos, player)
|
|||||||
if factions_config.protection_depth_height_limit and (pos.y < factions_config.protection_max_depth or pos.y > factions_config.protection_max_height) then
|
if factions_config.protection_depth_height_limit and (pos.y < factions_config.protection_max_depth or pos.y > factions_config.protection_max_height) then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
if factions.disallow_edit_nofac and not player_faction then
|
|
||||||
return true
|
|
||||||
end
|
|
||||||
|
|
||||||
local parcelpos = factions.get_parcel_pos(pos)
|
local parcelpos = factions.get_parcel_pos(pos)
|
||||||
local parcel_faction = factions.get_parcel_faction(parcelpos)
|
local parcel_faction = factions.get_parcel_faction(parcelpos)
|
||||||
|
Loading…
Reference in New Issue
Block a user