Sync with L2jServer HighFive Feb 23rd 2015.

This commit is contained in:
mobius
2015-02-24 00:08:58 +00:00
parent ab37ff06dc
commit 79bc90ca26
68 changed files with 797 additions and 64 deletions

View File

@@ -7097,6 +7097,9 @@ public final class L2PcInstance extends L2Playable
player.setPledgeType(rset.getInt("subpledge"));
// player.setApprentice(rset.getInt("apprentice"));
// Set Hero status if it applies
player.setHero(Hero.getInstance().isHero(objectId));
if (clanId > 0)
{
player.setClan(ClanTable.getInstance().getClan(clanId));
@@ -7230,12 +7233,6 @@ public final class L2PcInstance extends L2Playable
return null;
}
// Set Hero status if it applies
if (Hero.getInstance().isHero(objectId))
{
player.setHero(true);
}
// Retrieve from the database all items of this L2PcInstance and add them to _inventory
player.getInventory().restore();
player.getFreight().restore();