diff --git a/src/main/java/emu/grasscutter/game/player/PlayerProgressManager.java b/src/main/java/emu/grasscutter/game/player/PlayerProgressManager.java index e2872787a..ddf8b62ed 100644 --- a/src/main/java/emu/grasscutter/game/player/PlayerProgressManager.java +++ b/src/main/java/emu/grasscutter/game/player/PlayerProgressManager.java @@ -1,8 +1,5 @@ package emu.grasscutter.game.player; -import static emu.grasscutter.config.Configuration.GAME_OPTIONS; -import static emu.grasscutter.scripts.constants.EventType.EVENT_UNLOCK_TRANS_POINT; - import emu.grasscutter.data.GameData; import emu.grasscutter.data.binout.ScenePointEntry; import emu.grasscutter.data.excels.OpenStateData; @@ -12,9 +9,13 @@ import emu.grasscutter.game.quest.enums.*; import emu.grasscutter.net.proto.RetcodeOuterClass.Retcode; import emu.grasscutter.scripts.data.ScriptArgs; import emu.grasscutter.server.packet.send.*; + import java.util.Set; import java.util.stream.Collectors; +import static emu.grasscutter.config.Configuration.GAME_OPTIONS; +import static emu.grasscutter.scripts.constants.EventType.EVENT_UNLOCK_TRANS_POINT; + // @Entity public final class PlayerProgressManager extends BasePlayerDataManager { /****************************************************************************************************************** @@ -205,7 +206,8 @@ public final class PlayerProgressManager extends BasePlayerDataManager { // * it can not be in the blacklist. if (!state.isAllowClientOpen() && this.areConditionsMet(state) - && !BLACKLIST_OPEN_STATES.contains(state.getId())) { + && !BLACKLIST_OPEN_STATES.contains(state.getId()) + && !IGNORED_OPEN_STATES.contains(state.getId())) { this.setOpenState(state.getId(), 1, sendNotify); } }