aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2021-11-28 20:43:29 +0900
committersyeyoung <cyoung06@naver.com>2021-11-28 20:43:29 +0900
commit374821d795174c24c5e2059c18a8d388682e9141 (patch)
tree066dd10cf82a70092bd23df2bcee4d1f485721ee /src/main/java/kr
parentc2fb88c978fb2c4662d9bdde2b72192050977e48 (diff)
downloadSkyblock-Dungeons-Guide-374821d795174c24c5e2059c18a8d388682e9141.tar.gz
Skyblock-Dungeons-Guide-374821d795174c24c5e2059c18a8d388682e9141.tar.bz2
Skyblock-Dungeons-Guide-374821d795174c24c5e2059c18a8d388682e9141.zip
- Button reset
Diffstat (limited to 'src/main/java/kr')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorButtonSolver.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorButtonSolver.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorButtonSolver.java
index 3e23d1a7..4faf456c 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorButtonSolver.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorButtonSolver.java
@@ -94,6 +94,9 @@ public class RoomProcessorButtonSolver extends GeneralRoomProcessor {
Arrays.fill(result, -1);
result[clickedButton] = 2;
clickedButton = -1;
+ } else if (msg.equals("§r§aWrong button, looks like the system reset!§r")) {
+ Arrays.fill(result, 0);
+ clickedButton = -1;
}
}