aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRime <81419447+Emirlol@users.noreply.github.com>2024-06-30 09:36:37 +0300
committerGitHub <noreply@github.com>2024-06-30 14:36:37 +0800
commit818b9e127f5a2c052b4513013ae39245f135bd72 (patch)
tree86453d07321aa1e3f6f92cedd6631fd68ca0034f
parent168a28fe5e9deccb12d5247d5692cdc94a31a76c (diff)
downloadSkyblocker-818b9e127f5a2c052b4513013ae39245f135bd72.tar.gz
Skyblocker-818b9e127f5a2c052b4513013ae39245f135bd72.tar.bz2
Skyblocker-818b9e127f5a2c052b4513013ae39245f135bd72.zip
Remove the development environment branch from the isInLocation methods (#810)
-rw-r--r--src/main/java/de/hysky/skyblocker/utils/Utils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/hysky/skyblocker/utils/Utils.java b/src/main/java/de/hysky/skyblocker/utils/Utils.java
index 84b3cb9e..7ee5ec38 100644
--- a/src/main/java/de/hysky/skyblocker/utils/Utils.java
+++ b/src/main/java/de/hysky/skyblocker/utils/Utils.java
@@ -95,15 +95,15 @@ public class Utils {
}
public static boolean isInDungeons() {
- return location == Location.DUNGEON || FabricLoader.getInstance().isDevelopmentEnvironment();
+ return location == Location.DUNGEON;
}
public static boolean isInCrystalHollows() {
- return location == Location.CRYSTAL_HOLLOWS || FabricLoader.getInstance().isDevelopmentEnvironment();
+ return location == Location.CRYSTAL_HOLLOWS;
}
public static boolean isInDwarvenMines() {
- return location == Location.DWARVEN_MINES || location == Location.GLACITE_MINESHAFT || FabricLoader.getInstance().isDevelopmentEnvironment();
+ return location == Location.DWARVEN_MINES || location == Location.GLACITE_MINESHAFT;
}
public static boolean isInTheRift() {