From e8bb3cd8c63ebcb754160e0b262ab23cab006fb6 Mon Sep 17 00:00:00 2001 From: ShiroySan Date: Thu, 16 May 2024 04:16:11 +0800 Subject: [PATCH] Revert "Fixed Filters for WorldBoss checking first ID only" This reverts commit 4210197f9a7656c8cafabad57408883ca77d4ef4. --- src/main/java/emu/grasscutter/game/world/WorldDataSystem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/emu/grasscutter/game/world/WorldDataSystem.java b/src/main/java/emu/grasscutter/game/world/WorldDataSystem.java index 20f1ed3db..39bc93717 100644 --- a/src/main/java/emu/grasscutter/game/world/WorldDataSystem.java +++ b/src/main/java/emu/grasscutter/game/world/WorldDataSystem.java @@ -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().contains(monsterId)) - .findAny(); + .filter(imd -> imd.getMonsterIdList().get(0) == monsterId) + .findFirst(); return investigationMonsterData .map(