aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorErymanthus[#5074] | (u/)RayDeeUx <51521765+RayDeeUx@users.noreply.github.com>2022-11-05 10:51:33 -0400
committerGitHub <noreply@github.com>2022-11-05 10:51:33 -0400
commit248a42494373132e1f38a9c7019a84b46f70e211 (patch)
treead4f1cb051ee69c9c1dd62258bd6166d7d684128 /src/main
parentbe2b62829b60946dc03ccb0c21dd234388c5d159 (diff)
downloadSkyblockHud-Death-Defied-248a42494373132e1f38a9c7019a84b46f70e211.tar.gz
SkyblockHud-Death-Defied-248a42494373132e1f38a9c7019a84b46f70e211.tar.bz2
SkyblockHud-Death-Defied-248a42494373132e1f38a9c7019a84b46f70e211.zip
Map to map
Signed-off-by: Erymanthus[#5074] | (u/)RayDeeUx <51521765+RayDeeUx@users.noreply.github.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/misc/PleaseUseSkyguide.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/misc/PleaseUseSkyguide.java b/src/main/java/com/thatgravyboat/skyblockhud/misc/PleaseUseSkyguide.java
index 62811f8..fc0636a 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/misc/PleaseUseSkyguide.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/misc/PleaseUseSkyguide.java
@@ -25,8 +25,8 @@ public class PleaseUseSkyguide {
@SubscribeEvent
public void sendWarning(TickEvent.ClientTickEvent event){
- if (Minecraft.getMinecraft().thePlayer == null || !SkyblockHud.config.Map.showMiniMap || !Loader.isModLoaded("skyguide")) return;
- SkyblockHud.config.Map.showMiniMap = false;
+ if (Minecraft.getMinecraft().thePlayer == null || !SkyblockHud.config.map.showMiniMap || !Loader.isModLoaded("skyguide")) return;
+ SkyblockHud.config.map.showMiniMap = false;
if (hasSentWarningForSession) return;
Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "[SBH] SkyGuide by DeDiamondPro has been detected. As a result, SBHud's minimap has been disabled. Please use SkyGuide instead."));
//prevent sending warning more than once per session