Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DeDiamondPro committed Feb 1, 2023
1 parent 1c2ce59 commit bd58217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/dev/dediamondpro/skyguide/config/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ object Config : Config(
}
addDependency("lazyLoading", "keepAssetsLoaded")
registerKeyBind(mapKeyBind) {
if (SBInfo.inSkyblock) GuiUtils.displayScreen(MapGui())
if (SBInfo.inSkyblock && enabled) GuiUtils.displayScreen(MapGui())
}
}
}
2 changes: 1 addition & 1 deletion src/main/kotlin/dev/dediamondpro/skyguide/hud/MiniMap.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
import org.lwjgl.opengl.GL11
import kotlin.math.pow

class MiniMap : Hud(true, 0f, 1815f, 0.7f) {
class MiniMap : Hud(true, 1815f, 0f, 0.7f) {
@Switch(
name = "Rotate With Player",
description = "Rotate the map with the player.",
Expand Down

0 comments on commit bd58217

Please sign in to comment.