diff --git a/src/engine/net/client/msg/TrainMsg.java b/src/engine/net/client/msg/TrainMsg.java index 1100c995..18ff38ba 100644 --- a/src/engine/net/client/msg/TrainMsg.java +++ b/src/engine/net/client/msg/TrainMsg.java @@ -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)