Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into fork/ItsEmpa/cleanup/funny-intellij
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/java/me/partlysanestudios/partlysaneskies/features/skills/SkillUpgradeRecommendation.java
#	src/main/kotlin/me/partlysanestudios/partlysaneskies/utils/StringUtils.kt
  • Loading branch information
j10a1n15 committed Jul 24, 2024
2 parents b26f983 + 63bbbe7 commit 071f464
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 239 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,6 @@ class PartlySaneSkies {

DebugKey.init()

// Initializes skill upgrade recommendation
SkillUpgradeRecommendation.populateSkillMap()
try {
SkyblockDataManager.updateAll()
} catch (e: IOException) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ object Keybinds {
if (OneConfigScreen.favouritePetKeybind.isActive()) {
PetAlert.favouritePet()
}
if (!Keyboard.isCreated()) return
if (Keyboard.isKeyDown(Keyboard.KEY_LEFT)) {
if (PartlySaneSkies.minecraft.currentScreen is AuctionHouseGui ||
PartlySaneSkies.minecraft.currentScreen is GuiChest &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object RefreshKeybinds {

@SubscribeEvent
fun onGuiKeyboardInput(event: GuiScreenEvent.KeyboardInputEvent.Pre) {
if (!PartlySaneSkies.config.refreshKeybind) return
if (!PartlySaneSkies.config.refreshKeybind || !Keyboard.isCreated()) return
checkKeybinds(event)
}

Expand Down
Loading

0 comments on commit 071f464

Please sign in to comment.