mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-08 09:23:20 +08:00
Revert "Fixed Filters for WorldBoss checking first ID only"
This reverts commit 4210197f9a
.
This commit is contained in:
parent
4210197f9a
commit
e8bb3cd8c6
@ -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().contains(monsterId))
|
.filter(imd -> imd.getMonsterIdList().get(0) == monsterId)
|
||||||
.findAny();
|
.findFirst();
|
||||||
|
|
||||||
return investigationMonsterData
|
return investigationMonsterData
|
||||||
.map(
|
.map(
|
||||||
|
Loading…
Reference in New Issue
Block a user