From e198d8243fb2e802781f5bc0a89dc8071f47b361 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 27 Nov 2021 23:33:02 +0900 Subject: - Bug Report 180 --- .../syeyoung/dungeonsguide/roomprocessor/RoomProcessorBlazeSolver.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorBlazeSolver.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorBlazeSolver.java index 32f46b15..dcdb32b8 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorBlazeSolver.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorBlazeSolver.java @@ -103,6 +103,7 @@ public class RoomProcessorBlazeSolver extends GeneralRoomProcessor { next = entityList.get(0); nextBlaze = blazeList.stream().min(Comparator.comparingDouble(e -> e.getDistanceSqToEntity(next))).orElse(null); } else { + next = null; nextBlaze = null; } if (entityList.size() > 1) { -- cgit