|
|
@ -4561,7 +4561,8 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
this.setBounds(playerBounds); |
|
|
|
this.setBounds(playerBounds); |
|
|
|
|
|
|
|
|
|
|
|
//assign enum values for restrictions
|
|
|
|
//assign enum values for restrictions
|
|
|
|
this.absRace = Enum.MonsterType.valueOf(this.getRace().getName().replace("-","")); |
|
|
|
String race = this.getRace().getName().replace("-",""); |
|
|
|
|
|
|
|
this.absRace = Enum.MonsterType.valueOf(race); |
|
|
|
|
|
|
|
|
|
|
|
if(this.promotionClass != null) |
|
|
|
if(this.promotionClass != null) |
|
|
|
this.absClass = Enum.PromoteType.valueOf(this.getPromotionClass().getName()); |
|
|
|
this.absClass = Enum.PromoteType.valueOf(this.getPromotionClass().getName()); |
|
|
|