Browse Source

saetor trains

lakebane-mine-tele
FatBoy-DOTC 3 months ago
parent
commit
84c022a39b
  1. 3
      src/engine/net/client/msg/TrainMsg.java

3
src/engine/net/client/msg/TrainMsg.java

@ -92,9 +92,10 @@ public class TrainMsg extends ClientNetMsg { @@ -92,9 +92,10 @@ public class TrainMsg extends ClientNetMsg {
CharacterSkill sk = skills.get(sb.getName());
if(playerCharacter.getRaceID() == 1999)
if(sk == null && playerCharacter.getRaceID() == 1999)
if(sb.getName().equals("Staff") || sb.getName().equals("Staff Mastery") || sb.getName().equals("Parry")){
sk = new CharacterSkill(sb,playerCharacter);
DbManager.CharacterSkillQueries.updateDatabase(sk);
}
if (sk == null)

Loading…
Cancel
Save