diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/combat/CrystalAura.java b/src/main/java/me/zeroeightsix/kami/module/modules/combat/CrystalAura.java index 2ad51a19..d4e353ed 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/combat/CrystalAura.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/combat/CrystalAura.java @@ -36,6 +36,7 @@ import java.util.Comparator; import java.util.List; import java.util.stream.Collectors; +import static me.zeroeightsix.kami.module.modules.gui.InfoOverlay.getItems; import static me.zeroeightsix.kami.util.EntityUtil.calculateLookAt; /** @@ -382,4 +383,9 @@ public class CrystalAura extends Module { renderEnt = null; resetRotation(); } + + @Override + public String getHudInfo() { + return String.valueOf(getItems(Items.END_CRYSTAL)); + } } diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/combat/OffhandGap.java b/src/main/java/me/zeroeightsix/kami/module/modules/combat/OffhandGap.java index d5524a13..fe766303 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/combat/OffhandGap.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/combat/OffhandGap.java @@ -12,6 +12,8 @@ import net.minecraft.inventory.ClickType; import net.minecraft.item.*; import net.minecraft.network.play.client.CPacketPlayerTryUseItem; +import static me.zeroeightsix.kami.module.modules.gui.InfoOverlay.getItems; + /** * @author polymer (main listener switch function xd) * @author S-B99 (made epic and smooth and cleaned up code <3) (why did i rewrite this 4 times) @@ -130,4 +132,9 @@ public class OffhandGap extends Module { mc.playerController.windowClick(0, slot < 9 ? slot + 36 : slot, 0, ClickType.PICKUP, mc.player); } } + + @Override + public String getHudInfo() { + return String.valueOf(getItems(Items.GOLDEN_APPLE)); + } } diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/gui/InfoOverlay.java b/src/main/java/me/zeroeightsix/kami/module/modules/gui/InfoOverlay.java index 47035280..8bf01a68 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/gui/InfoOverlay.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/gui/InfoOverlay.java @@ -77,7 +77,7 @@ public class InfoOverlay extends Module { return TimerSpeed.returnGui().replace(".", formatted); } - public String textColour(ColourUtils.ColourCode c) { + private String textColour(ColourUtils.ColourCode c) { return getStringColour(c); }