Browse Source

saetor trains undone

lakebane-mine-tele
FatBoy-DOTC 2 months ago
parent
commit
78b7ddb32a
  1. 7
      src/engine/net/client/msg/TrainMsg.java

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

@ -92,13 +92,6 @@ public class TrainMsg extends ClientNetMsg {
CharacterSkill sk = skills.get(sb.getName()); CharacterSkill sk = skills.get(sb.getName());
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);
DbManager.CharacterSkillQueries.UPDATE_TRAINS(sk);
}
if (sk == null) if (sk == null)
return; return;

Loading…
Cancel
Save