diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 12:42:27 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 12:42:27 +0200 |
commit | 7306eac55e3f5f5f0a0307e5af9e5fb7e147d0ab (patch) | |
tree | ca4c68f02782c8910e3ce8d6b92f6649bb51a111 /src/main/java/com/thatgravyboat/skyblockhud/handlers/CooldownHandler.java | |
parent | abd6c5d7275149a616ef9513e528eea270e526b5 (diff) | |
download | skyhanni-7306eac55e3f5f5f0a0307e5af9e5fb7e147d0ab.tar.gz skyhanni-7306eac55e3f5f5f0a0307e5af9e5fb7e147d0ab.tar.bz2 skyhanni-7306eac55e3f5f5f0a0307e5af9e5fb7e147d0ab.zip |
renamed lorenz mod
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/handlers/CooldownHandler.java')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/handlers/CooldownHandler.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/handlers/CooldownHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/handlers/CooldownHandler.java index 7ae92df55..cac37c07c 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/handlers/CooldownHandler.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/handlers/CooldownHandler.java @@ -1,8 +1,7 @@ package com.thatgravyboat.skyblockhud.handlers; -import at.lorenz.mod.Features; import com.google.common.collect.Sets; -import com.thatgravyboat.skyblockhud.SkyblockHud; +import com.thatgravyboat.skyblockhud.LorenzMod; import com.thatgravyboat.skyblockhud.api.item.IAbility; import com.thatgravyboat.skyblockhud.utils.Utils; import java.util.*; @@ -70,7 +69,7 @@ public class CooldownHandler { @SubscribeEvent public void tick(TickEvent.ClientTickEvent event) { - if (SkyblockHud.config.misc.hideItemCooldowns) return; + if (LorenzMod.config.misc.hideItemCooldowns) return; if (event.phase.equals(TickEvent.Phase.END)) { COOLDOWNS.values().forEach(Cooldown::tick); COOLDOWNS.entrySet().removeIf(entry -> entry.getValue().isOver()); @@ -79,7 +78,7 @@ public class CooldownHandler { @SubscribeEvent public void onPlayerInteract(PlayerInteractEvent event) { - if (SkyblockHud.config.misc.hideItemCooldowns) return; + if (LorenzMod.config.misc.hideItemCooldowns) return; if (event.action.equals(PlayerInteractEvent.Action.RIGHT_CLICK_AIR) || event.action.equals(PlayerInteractEvent.Action.RIGHT_CLICK_BLOCK)) { if (event.entityPlayer.getHeldItem() != null) { IAbility ability = (IAbility) ((Object) event.entityPlayer.getHeldItem()); |