aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java b/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java
index bb4f2f40..a58bfb26 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java
@@ -46,9 +46,15 @@ import java.util.regex.Pattern;
public class SkyblockStatus {
@Getter
private boolean isOnSkyblock;
- @Getter
private boolean isOnDungeon;
+ public boolean isOnDungeon() {
+ return forceIsOnDungeon || isOnDungeon;
+ }
+
+ @Getter @Setter
+ private boolean forceIsOnDungeon;
+
@Getter
@Setter
private DungeonContext context;
@@ -57,7 +63,7 @@ public class SkyblockStatus {
@Setter
private int percentage;
- @Getter
+ @Getter @Setter
private String dungeonName;
public boolean isOnHypixel() {