Browse Source

implement server side restrictions

combat-2
FatBoy-DOTC 9 months ago
parent
commit
f952785c8e
  1. 10
      src/engine/objects/PlayerCharacter.java

10
src/engine/objects/PlayerCharacter.java

@ -4576,9 +4576,13 @@ public class PlayerCharacter extends AbstractCharacter { @@ -4576,9 +4576,13 @@ public class PlayerCharacter extends AbstractCharacter {
this.absGender = SexType.FEMALE;
for(CharacterRune rune : this.runes){
DisciplineType disc = DisciplineType.valueOf(RuneBase.getRuneBase(rune.getRuneBaseID()).getName().replace("-", "").replace(" ", ""));
if(disc != null){
this.absDisciplines.add(disc);
try {
DisciplineType disc = DisciplineType.valueOf(RuneBase.getRuneBase(rune.getRuneBaseID()).getName().replace("-", "").replace(" ", ""));
if (disc != null) {
this.absDisciplines.add(disc);
}
} catch(Exception e){
}
}
}

Loading…
Cancel
Save