mirror of
https://github.com/minetest-mods/areas.git
synced 2025-07-21 00:50:27 +02:00
Fix crash
This commit is contained in:
1
api.lua
1
api.lua
@ -163,7 +163,6 @@ function areas:canInteract(pos, name)
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
elseif areas.factions_available and area.faction_open then
|
elseif areas.factions_available and area.faction_open then
|
||||||
if (factions.version or 0) < 2 then
|
if (factions.version or 0) < 2 then
|
||||||
local faction_name = factions.get_player_faction(name)
|
local faction_name = factions.get_player_faction(name)
|
||||||
|
Reference in New Issue
Block a user