Fixed character faction reset if accidently disabling the system.

This commit is contained in:
mobius
2015-01-14 19:37:54 +00:00
parent 5395d59c41
commit ac7394576e

View File

@@ -6939,8 +6939,6 @@ public final class L2PcInstance extends L2Playable
player.setNewbie(rset.getInt("newbie")); player.setNewbie(rset.getInt("newbie"));
player.setNoble(rset.getInt("nobless") == 1); player.setNoble(rset.getInt("nobless") == 1);
if (Config.FACTION_SYSTEM_ENABLED)
{
final int factionId = rset.getInt("faction"); final int factionId = rset.getInt("faction");
if (factionId == 1) if (factionId == 1)
{ {
@@ -6950,7 +6948,6 @@ public final class L2PcInstance extends L2Playable
{ {
player.setEvil(); player.setEvil();
} }
}
player.setClanJoinExpiryTime(rset.getLong("clan_join_expiry_time")); player.setClanJoinExpiryTime(rset.getLong("clan_join_expiry_time"));
if (player.getClanJoinExpiryTime() < System.currentTimeMillis()) if (player.getClanJoinExpiryTime() < System.currentTimeMillis())