diff --git a/src/main/java/cc/fascinated/wildaddons/addon/impl/ui/OverlayAddon.java b/src/main/java/cc/fascinated/wildaddons/addon/impl/ui/OverlayAddon.java index 9f5991f..d943ffd 100644 --- a/src/main/java/cc/fascinated/wildaddons/addon/impl/ui/OverlayAddon.java +++ b/src/main/java/cc/fascinated/wildaddons/addon/impl/ui/OverlayAddon.java @@ -75,7 +75,7 @@ public class OverlayAddon extends Addon { } } - if (ActivePotionsListener.getActivePotions().size() > 0) { + if (ArmorListener.getArmorMultipliers().size() > 0) { lastY += 3; renderer.drawWithShadow(matrixStack, "§7§nArmor Multipliers:", 5, lastY, 0xffffff); lastY += 11; diff --git a/src/main/java/cc/fascinated/wildaddons/listener/ArmorListener.java b/src/main/java/cc/fascinated/wildaddons/listener/ArmorListener.java index 31e87eb..dc584fa 100644 --- a/src/main/java/cc/fascinated/wildaddons/listener/ArmorListener.java +++ b/src/main/java/cc/fascinated/wildaddons/listener/ArmorListener.java @@ -24,7 +24,7 @@ public class ArmorListener implements EventListener { @Getter private static Map armorMultipliers = new HashMap<>(); @Override - public void onTick(int ticksPassed) { // TODO: move to its own thread + public void onTick(int ticksPassed) { if (ticksPassed % 20 != 0) { return; } diff --git a/src/main/java/cc/fascinated/wildaddons/tpsmonitor/TpsMonitor.java b/src/main/java/cc/fascinated/wildaddons/tpsmonitor/TpsMonitor.java index 8305bba..8af56f9 100644 --- a/src/main/java/cc/fascinated/wildaddons/tpsmonitor/TpsMonitor.java +++ b/src/main/java/cc/fascinated/wildaddons/tpsmonitor/TpsMonitor.java @@ -13,7 +13,7 @@ public class TpsMonitor implements EventListener { private static long worldTicks = 0; @Override - public void onPacketReceive(Packet packet) { // TODO: move to its own thread? + public void onPacketReceive(Packet packet) { if (!(packet instanceof WorldTimeUpdateS2CPacket)) { return; }