From 99f6a84a68ea998652ca5d184ba10abd8ce354cf Mon Sep 17 00:00:00 2001 From: Haru <78084997+imHaruu@users.noreply.github.com> Date: Fri, 2 Aug 2024 22:08:09 +0700 Subject: [PATCH] Avoid trigger quest --- src/main/java/emu/lunarcore/game/scene/SceneEntityLoader.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/emu/lunarcore/game/scene/SceneEntityLoader.java b/src/main/java/emu/lunarcore/game/scene/SceneEntityLoader.java index 511a7dc3b..f04ef9e71 100644 --- a/src/main/java/emu/lunarcore/game/scene/SceneEntityLoader.java +++ b/src/main/java/emu/lunarcore/game/scene/SceneEntityLoader.java @@ -23,6 +23,10 @@ public void onSceneLoad(Scene scene) { if (group.getLoadSide() != GroupLoadSide.Server) { continue; } + //Avoid trigger some quest + if (group.getOwnerMainMissionID() > 0) { + continue; + } // Load group scene.loadGroup(group);