aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-07-22 23:31:40 +0900
committersyeyoung <cyong06@naver.com>2021-07-22 23:31:40 +0900
commit6ad4a0f7c64d07a6671bd1044b6c498f247f8cfc (patch)
tree4683c813a6e733c72c056af35e0f538ba32e93b5 /src/main/java/kr
parenta86c4f4ab2f423f9fa0342d553073d9538c1bba3 (diff)
downloadSkyblock-Dungeons-Guide-6ad4a0f7c64d07a6671bd1044b6c498f247f8cfc.tar.gz
Skyblock-Dungeons-Guide-6ad4a0f7c64d07a6671bd1044b6c498f247f8cfc.tar.bz2
Skyblock-Dungeons-Guide-6ad4a0f7c64d07a6671bd1044b6c498f247f8cfc.zip
Fix trivia solver not working
Diffstat (limited to 'src/main/java/kr')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTrivia.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTrivia.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTrivia.java
index 148dfbb9..a6199c25 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTrivia.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTrivia.java
@@ -58,7 +58,7 @@ public class RoomProcessorTrivia extends GeneralRoomProcessor {
questionDialogStart = true;
questionDialog.clear();
}
- if (questionDialogStart && (chat.getFormattedText().startsWith("§r ") || chat.getFormattedText().trim().startsWith("§r§6 "))) {
+ if (questionDialogStart && (chat.getFormattedText().startsWith("§r§r§r") || chat.getFormattedText().startsWith("§r§r§r") || chat.getFormattedText().trim().startsWith("§r§6 "))) {
questionDialog.add(chat.getFormattedText());
}