Add support for legacy and newer quest excels

This commit is contained in:
KingRainbow44
2023-04-29 21:35:49 -04:00
parent ed3186a2b2
commit 9b507a6ec3
5 changed files with 60 additions and 13 deletions

View File

@@ -513,7 +513,7 @@ public class Player {
* Applies the properties to the player.
*/
private void applyProperties() {
var withQuesting = GAME_OPTIONS.questing;
var withQuesting = GAME_OPTIONS.questing.enabled;
this.setOrFetch(PlayerProperty.PROP_PLAYER_LEVEL, 1);
this.setOrFetch(PlayerProperty.PROP_IS_SPRING_AUTO_USE, 1);

View File

@@ -77,7 +77,7 @@ public final class PlayerProgressManager extends BasePlayerDataManager {
// Add statue quests if necessary.
this.addStatueQuestsOnLogin();
if (!GAME_OPTIONS.questing) {
if (!GAME_OPTIONS.questing.enabled) {
// Auto-unlock the first statue and map area.
this.player.getUnlockedScenePoints(3).add(7);
this.player.getUnlockedSceneAreas(3).add(1);