diff options
author | syeyoung <cyong06@naver.com> | 2021-07-25 22:27:22 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-07-25 22:28:49 +0900 |
commit | 932399472cb653f5a8fdc1095fa941656a729650 (patch) | |
tree | 6049fdf96de7b2967c56d1d6ea62a6c473845c0a /src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java | |
parent | a6b8e47c879ce5a1c69d0552cdb26a3b3e95e4b6 (diff) | |
download | Skyblock-Dungeons-Guide-932399472cb653f5a8fdc1095fa941656a729650.tar.gz Skyblock-Dungeons-Guide-932399472cb653f5a8fdc1095fa941656a729650.tar.bz2 Skyblock-Dungeons-Guide-932399472cb653f5a8fdc1095fa941656a729650.zip |
Creating Fake Dungeons.
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() { |