mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-07 00:03:04 +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 =
|
var investigationMonsterData =
|
||||||
GameData.getInvestigationMonsterDataMap().values().parallelStream()
|
GameData.getInvestigationMonsterDataMap().values().parallelStream()
|
||||||
.filter(imd -> imd.getMonsterIdList() != null && !imd.getMonsterIdList().isEmpty())
|
.filter(imd -> imd.getMonsterIdList() != null && !imd.getMonsterIdList().isEmpty())
|
||||||
.filter(imd -> imd.getMonsterIdList().get(0) == monsterId)
|
.filter(imd -> imd.getMonsterIdList().contains(monsterId))
|
||||||
.findFirst();
|
.findAny();
|
||||||
|
|
||||||
return investigationMonsterData
|
return investigationMonsterData
|
||||||
.map(
|
.map(
|
||||||
|
Loading…
Reference in New Issue
Block a user