diff --git a/GauntletOverlay.java b/GauntletOverlay.java index 1c65227..6e0ef33 100644 --- a/GauntletOverlay.java +++ b/GauntletOverlay.java @@ -73,7 +73,7 @@ public class GauntletOverlay extends Overlay { if (icon == null) continue; - Polygon polygon = GauntletUtils.boundProjectile(client, projectile); + /*Polygon polygon = GauntletUtils.boundProjectile(client, projectile); if (polygon == null) { int x = (int) projectile.getX(); int y = (int) projectile.getY(); @@ -95,7 +95,7 @@ public class GauntletOverlay extends Overlay { int x = (int) bounds.getCenterX() - (icon.getWidth() / 2); int y = (int) bounds.getCenterY() - (icon.getHeight() / 2); graphics.drawImage(icon, x, y, null); - } + }*/ } for (NPC npc : this.client.getNpcs()) { @@ -126,7 +126,7 @@ public class GauntletOverlay extends Overlay { // Overlay the boss with a color on it's convex hull. if (config.overlayBoss()) { - Polygon polygon = npc.getConvexHull(); + /*Polygon polygon = npc.getConvexHull(); if (polygon != null) { Color color; @@ -145,7 +145,7 @@ public class GauntletOverlay extends Overlay { graphics.draw(polygon); graphics.setColor(new Color(color.getRed(), color.getGreen(), color.getBlue(), 50)); graphics.fill(polygon); - } + }*/ } // Overlay of the boss with an icon denoting it's current attack style. diff --git a/GauntletPlugin.java b/GauntletPlugin.java index fc73397..7a61d62 100644 --- a/GauntletPlugin.java +++ b/GauntletPlugin.java @@ -24,7 +24,7 @@ import net.runelite.api.Skill; import net.runelite.api.SoundEffectID; import net.runelite.api.Tile; import net.runelite.api.events.AnimationChanged; -import net.runelite.api.events.ConfigChanged; +//import net.runelite.api.events.ConfigChanged; import net.runelite.api.events.GameObjectChanged; import net.runelite.api.events.GameObjectDespawned; import net.runelite.api.events.GameObjectSpawned; @@ -176,7 +176,7 @@ public class GauntletPlugin extends Plugin { imageAttackPrayer = ImageUtil.resizeImage(iconManager.getSkillImage(Skill.PRAYER, true), imageSize, imageSize); } - @Subscribe + /*@Subscribe public void onConfigChanged(ConfigChanged event) { if (event.getGroup() == null || event.getKey() == null || !event.getGroup().equals("Gauntlet")) return; @@ -192,7 +192,7 @@ public class GauntletPlugin extends Plugin { } else if (event.getKey().equals("iconSize")) { loadImages(config.iconSize()); } - } + }*/ @Subscribe public void onVarbitChanged(VarbitChanged event) { diff --git a/GauntletUtils.java b/GauntletUtils.java index ea7f21b..b22b5a4 100644 --- a/GauntletUtils.java +++ b/GauntletUtils.java @@ -8,7 +8,7 @@ import net.runelite.api.Point; import net.runelite.api.Projectile; import net.runelite.api.coords.LocalPoint; import net.runelite.api.model.Jarvis; -import net.runelite.api.model.Vertex; +//import net.runelite.api.model.Vertex; import java.awt.*; import java.util.ArrayList; @@ -170,7 +170,7 @@ public class GauntletUtils { } } - public static Polygon boundProjectile(Client client, Projectile p) { + /*public static Polygon boundProjectile(Client client, Projectile p) { if (p == null || p.getModel() == null) return null; @@ -212,5 +212,5 @@ public class GauntletUtils { } return polygon; - } + }*/ }