Skip to content

Commit

Permalink
Avoid trigger quest
Browse files Browse the repository at this point in the history
  • Loading branch information
imHaruuu authored Aug 2, 2024
1 parent 47ec7c5 commit ebff38b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/emu/lunarcore/game/scene/SceneEntityLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ebff38b

Please sign in to comment.