Fixed initial reputation negative set.

This commit is contained in:
MobiusDev
2016-07-28 19:44:22 +00:00
parent 4dbf25b796
commit 28510f165c

View File

@@ -1945,6 +1945,11 @@ public final class L2PcInstance extends L2Playable
return _reputation; return _reputation;
} }
public void setInitialReputation(int reputation)
{
_reputation = reputation;
}
/** /**
* Set the reputation of the PlayerInstance and send a Server->Client packet StatusUpdate (broadcast). * Set the reputation of the PlayerInstance and send a Server->Client packet StatusUpdate (broadcast).
* @param reputation * @param reputation
@@ -6528,7 +6533,7 @@ public final class L2PcInstance extends L2Playable
player.setHeading(rset.getInt("heading")); player.setHeading(rset.getInt("heading"));
player.setReputation(rset.getInt("reputation")); player.setInitialReputation(rset.getInt("reputation"));
player.setFame(rset.getInt("fame")); player.setFame(rset.getInt("fame"));
player.setRaidbossPoints(rset.getInt("raidbossPoints")); player.setRaidbossPoints(rset.getInt("raidbossPoints"));
player.setPvpKills(rset.getInt("pvpkills")); player.setPvpKills(rset.getInt("pvpkills"));