Anime-Game-Servers / Grasscutter-Quests

A server software implementation, ineroperable with a certain anime game client. The code in this repository is fully custom made for edyoucational purposes and future preservation, no copyrighted code is allowed in this repository.
https://grasscutters.xyz/grasscutter
GNU Affero General Public License v3.0
137 stars 31 forks source link

[Bug] Sometimes dungeon entries are listed twice #155

Open scooterboo opened 2 months ago

scooterboo commented 2 months ago

Sometimes, dungeon entries are listed twice like this dungeon 1117, scene point 291:

image

It seems that in DungeonEntryManager.getDungeonEntries, this dungeon is both a basicDungeon and a plotDungeon: image

It's a plot dungeon because there is a quest for it (Quest 200703): image

It's a basicDungeon because it's here in scene3_point.json: image

At the bottom of that scene point entry, I notice it has "unlocked" set to false: image

I'm guessing we should filter for that: image

If we do, it goes away: image

Does this look about right? Want a PR for it?

Which branch did you use?

refactoring_multiproto_0.2 Grasscutter version: 1.4.4-dev-89a3a350 Git Hash: 89a3a3506629556befbebb989380b3f8f2d0d998 (it's local)