update class type when promoting

This commit is contained in:
2024-04-21 13:04:47 -05:00
parent 35945f7542
commit 979cd70d65
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2193,7 +2193,7 @@ public class PlayerCharacter extends AbstractCharacter {
public boolean setPromotionClass(int value) {
PromotionClass promotionClass = PromotionClass.GetPromtionClassFromCache(value);
this.absPromotionClass = mbEnums.ClassType.valueOf(this.getPromotionClass().getName());
if (promotionClass == null)
return false;