Added default application on setGameClass.

Removed print info on custom build saving.
This commit is contained in:
Jonathan Williams 2014-04-13 00:15:44 -07:00
parent 1cb35262ac
commit 1b25dce2c5

View File

@ -139,9 +139,6 @@ public class ClientClass
{ {
_savingCustomBuild.PlayerName = _client.GetPlayerName(); _savingCustomBuild.PlayerName = _client.GetPlayerName();
System.out.println("Saving build.");
_savingCustomBuild.printInfo();
_classFactory.GetRepository().SaveCustomBuild(_savingCustomBuild); _classFactory.GetRepository().SaveCustomBuild(_savingCustomBuild);
_savingCustomBuild = null; _savingCustomBuild = null;
} }
@ -371,15 +368,7 @@ public class ClientClass
if (_gameClass == null) if (_gameClass == null)
return; return;
for (ISkill cur : gameClass.GetDefaultSkills().keySet()) EquipCustomBuild(_customBuilds.get(gameClass).get(1));
{
if (cur.GetSkillType() == SkillType.Class)
AddSkill(cur, gameClass.GetDefaultSkills().get(cur));
}
//Inform
//UtilPlayer.message(_client.GetPlayer(), F.main("Class", "Armor Class: " + F.oo(_gameClass.GetName(), true)));
} }
public IPvpClass GetGameClass() public IPvpClass GetGameClass()