diff options
-rw-r--r-- | src/main/java/me/Danker/features/ArachneESP.java | 8 | ||||
-rw-r--r-- | src/main/java/me/Danker/features/SlayerESP.java | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/main/java/me/Danker/features/ArachneESP.java b/src/main/java/me/Danker/features/ArachneESP.java index 491c42a..c78c385 100644 --- a/src/main/java/me/Danker/features/ArachneESP.java +++ b/src/main/java/me/Danker/features/ArachneESP.java @@ -21,12 +21,10 @@ import java.util.List; public class ArachneESP { - static Entity arachne = null; static boolean arachneActive = true; public static int ARACHANE_COLOUR; - @SubscribeEvent public void onWorldChange(WorldEvent.Load event) { arachne = null; @@ -67,9 +65,9 @@ public class ArachneESP { if (!Utils.inSkyblock) return; if (arachne != null) { if (arachneActive && ToggleCommand.highlightArachne) { - AxisAlignedBB aabb = new AxisAlignedBB(arachne.posX - 0.5, arachne.posY - 1, arachne.posZ - 0.5, arachne.posX + 0.5, arachne.posY, arachne.posZ + 0.5); - Utils.draw3DBox(aabb, ARACHANE_COLOUR, event.partialTicks); - } + AxisAlignedBB aabb = new AxisAlignedBB(arachne.posX - 0.75, arachne.posY - 1, arachne.posZ - 0.75, arachne.posX + 0.75, arachne.posY, arachne.posZ + 0.75); + Utils.draw3DBox(aabb, ARACHANE_COLOUR, event.partialTicks); + } } } diff --git a/src/main/java/me/Danker/features/SlayerESP.java b/src/main/java/me/Danker/features/SlayerESP.java index 51537ba..522e696 100644 --- a/src/main/java/me/Danker/features/SlayerESP.java +++ b/src/main/java/me/Danker/features/SlayerESP.java @@ -37,7 +37,6 @@ public class SlayerESP { wolf = null; } - @SubscribeEvent public void onTick(TickEvent.ClientTickEvent event) { if (!Utils.inSkyblock) return; @@ -105,7 +104,7 @@ public class SlayerESP { return; } if (spider != null) { - AxisAlignedBB aabb = new AxisAlignedBB(spider.posX - 0.5, spider.posY - 1, spider.posZ - 0.5, spider.posX + 0.5, spider.posY, spider.posZ + 0.5); + AxisAlignedBB aabb = new AxisAlignedBB(spider.posX - 0.75, spider.posY - 1, spider.posZ - 0.75, spider.posX + 0.75, spider.posY, spider.posZ + 0.75); Utils.draw3DBox(aabb, SLAYER_COLOUR, event.partialTicks); return; } |