mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 18:35:36 +08:00
Fixed Filters for WorldBoss checking first ID only
This commit is contained in:
parent
6ff8ec43e5
commit
4210197f9a
@ -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