aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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