Browse Source

implement server side restrictions

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

6
src/engine/objects/PlayerCharacter.java

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

Loading…
Cancel
Save