Reapply "Fixed Filters for WorldBoss checking first ID only"

This reverts commit e8bb3cd8c6.
This commit is contained in:
ShiroySan 2024-05-16 04:21:58 +08:00
parent e8bb3cd8c6
commit 6c6966961f

View File

@ -52,8 +52,8 @@ public class WorldDataSystem extends BaseGameSystem {
var investigationMonsterData =
GameData.getInvestigationMonsterDataMap().values().parallelStream()
.filter(imd -> imd.getMonsterIdList() != null && !imd.getMonsterIdList().isEmpty())
.filter(imd -> imd.getMonsterIdList().get(0) == monsterId)
.findFirst();
.filter(imd -> imd.getMonsterIdList().contains(monsterId))
.findAny();
return investigationMonsterData
.map(