Reply To: Server crash bc of factions

FrontPage Forums Recent Updates Server crash bc of factions Reply To: Server crash bc of factions

#200
MisterE
Participant

ok, so try this

 

from line 166,
<div>
<div>    — Display the checkbox only if the owner is member of at least 1 faction</div>
<div>    if factions_available then</div>
<div>        if factions.version == nil then</div>
<div>            — backward compatibility</div>
<div>            if factions.get_player_faction(meta:get_string(“owner”)) then</div>
<div>                checkbox_faction = true</div>
<div>            end</div>
<div>        else</div>
<div>            if factions.get_player_faction(meta:get_string(“owner”)) ~= nil then</div>
<div>                if next(factions.get_player_faction(meta:get_string(“owner”))) then</div>
<div>                    checkbox_faction = true</div>
<div>                end</div>
<div>            end</div>
<div>        end</div>
<div>    end</div>
</div>