mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-04 23:53:20 +08:00
Reapply "Fixed Filters for WorldBoss checking first ID only"
This reverts commit e8bb3cd8c6
.
This commit is contained in:
parent
e8bb3cd8c6
commit
6c6966961f
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user