diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java | 10 |
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() { |