diff options
author | Yasin <LifeIsAParadox@users.noreply.github.com> | 2024-02-21 00:30:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 00:30:35 +0100 |
commit | 1410e2530c8e5e2631adb038c4816568750b0436 (patch) | |
tree | f2bc09a8d2e5348ae456727d2787d6baf8a1253a /src/main/java/de/hysky/skyblocker/mixin/MinecraftClientMixin.java | |
parent | a15ce2afc7d9ce473148233a69a86aaca50fadc6 (diff) | |
parent | 6885e1affbc71c703cf6195182c7ee4053603683 (diff) | |
download | Skyblocker-1410e2530c8e5e2631adb038c4816568750b0436.tar.gz Skyblocker-1410e2530c8e5e2631adb038c4816568750b0436.tar.bz2 Skyblocker-1410e2530c8e5e2631adb038c4816568750b0436.zip |
Merge pull request #562 from LifeIsAParadox/Item-Protection-improvement
Improve Item Protection feature
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/mixin/MinecraftClientMixin.java')
-rw-r--r-- | src/main/java/de/hysky/skyblocker/mixin/MinecraftClientMixin.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/hysky/skyblocker/mixin/MinecraftClientMixin.java b/src/main/java/de/hysky/skyblocker/mixin/MinecraftClientMixin.java index cf8aab78..dd671b2e 100644 --- a/src/main/java/de/hysky/skyblocker/mixin/MinecraftClientMixin.java +++ b/src/main/java/de/hysky/skyblocker/mixin/MinecraftClientMixin.java @@ -1,6 +1,7 @@ package de.hysky.skyblocker.mixin; import de.hysky.skyblocker.skyblock.item.HotbarSlotLock; +import de.hysky.skyblocker.skyblock.item.ItemProtection; import de.hysky.skyblocker.utils.JoinWorldPlaceholderScreen; import de.hysky.skyblocker.utils.ReconfiguringPlaceholderScreen; import de.hysky.skyblocker.utils.Utils; @@ -34,6 +35,7 @@ public abstract class MinecraftClientMixin { public void skyblocker$handleInputEvents(CallbackInfo ci) { if (Utils.isOnSkyblock()) { HotbarSlotLock.handleInputEvents(player); + ItemProtection.handleHotbarKeyPressed(player); } } |