aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/gamemodes/SBGamemodes.java
diff options
context:
space:
mode:
authorBuildTools <james.jenour@protonmail.com>2021-02-20 23:37:59 +0800
committerBuildTools <james.jenour@protonmail.com>2021-02-20 23:37:59 +0800
commit06cb4d208801e276a0e4d96252c00ae01d9e522d (patch)
treeedb9ea57e98398c004433be0b9a7fd7ce324b385 /src/main/java/io/github/moulberry/notenoughupdates/gamemodes/SBGamemodes.java
parentde834a97505c66b5655ee7ff91e78e84da3f81f3 (diff)
downloadnotenoughupdates-06cb4d208801e276a0e4d96252c00ae01d9e522d.tar.gz
notenoughupdates-06cb4d208801e276a0e4d96252c00ae01d9e522d.tar.bz2
notenoughupdates-06cb4d208801e276a0e4d96252c00ae01d9e522d.zip
charzard just 4 u
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/gamemodes/SBGamemodes.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/gamemodes/SBGamemodes.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/gamemodes/SBGamemodes.java b/src/main/java/io/github/moulberry/notenoughupdates/gamemodes/SBGamemodes.java
index 827f9498..5e1634e9 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/gamemodes/SBGamemodes.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/gamemodes/SBGamemodes.java
@@ -118,7 +118,7 @@ public class SBGamemodes {
}
public static Gamemode getGamemode() {
- String currentProfile = NotEnoughUpdates.INSTANCE.manager.getCurrentProfile();
+ String currentProfile = SBInfo.getInstance().currentProfile;
if(currentProfile == null || currentProfile.isEmpty()) return null;