Browse Source

saetor trains undone

lakebane-mine-tele
FatBoy-DOTC 3 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 { @@ -92,13 +92,6 @@ public class TrainMsg extends ClientNetMsg {
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)
return;

Loading…
Cancel
Save