update class type when promoting
This commit is contained in:
1 parent
35945f7542
commit
979cd70d65
2 files changed
+5
-2
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user