Fix bug where non-200 capped classes can't rebirth

This commit is contained in:
Charlie Unfricht
2022-08-16 02:17:49 -04:00
parent a456b27011
commit cd706c544b
2 changed files with 4 additions and 4 deletions

View File

@@ -11151,7 +11151,7 @@ public class Character extends AbstractCharacterObject {
yellowMessage("Rebirth system is not enabled!");
throw new NotEnabledException();
}
if (getLevel() != 200) {
if (getLevel() != getMaxClassLevel()) {
return;
}
addReborns();