aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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;
}
}