coxhelper: fix bug
This commit is contained in:
@@ -86,7 +86,7 @@ public class CoxInfoBox extends Overlay
|
|||||||
if (System.currentTimeMillis() < (plugin.getLastPrayTime() + 120000) && plugin.getPrayAgainstOlm() != null)
|
if (System.currentTimeMillis() < (plugin.getLastPrayTime() + 120000) && plugin.getPrayAgainstOlm() != null)
|
||||||
{
|
{
|
||||||
InfoBoxComponent prayComponent = new InfoBoxComponent();
|
InfoBoxComponent prayComponent = new InfoBoxComponent();
|
||||||
BufferedImage prayImg = scaleImg(getPrayerImage(plugin.prayAgainstOlm));
|
BufferedImage prayImg = scaleImg(getPrayerImage(plugin.getPrayAgainstOlm()));
|
||||||
prayComponent.setImage(prayImg);
|
prayComponent.setImage(prayImg);
|
||||||
prayComponent.setColor(Color.WHITE);
|
prayComponent.setColor(Color.WHITE);
|
||||||
prayComponent.setBackgroundColor(client.isPrayerActive(prayAgainst.getPrayer())
|
prayComponent.setBackgroundColor(client.isPrayerActive(prayAgainst.getPrayer())
|
||||||
|
|||||||
@@ -34,43 +34,25 @@ import net.runelite.api.Actor;
|
|||||||
import net.runelite.api.NPC;
|
import net.runelite.api.NPC;
|
||||||
import net.runelite.api.NPCDefinition;
|
import net.runelite.api.NPCDefinition;
|
||||||
|
|
||||||
|
@Getter(AccessLevel.PACKAGE)
|
||||||
class NPCContainer
|
class NPCContainer
|
||||||
{
|
{
|
||||||
|
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private NPC npc;
|
private NPC npc;
|
||||||
|
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private int npcIndex;
|
private int npcIndex;
|
||||||
|
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private String npcName;
|
private String npcName;
|
||||||
|
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private int npcSize;
|
private int npcSize;
|
||||||
|
|
||||||
@Setter(AccessLevel.PACKAGE)
|
@Setter(AccessLevel.PACKAGE)
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private int ticksUntilAttack;
|
private int ticksUntilAttack;
|
||||||
|
|
||||||
@Setter(AccessLevel.PACKAGE)
|
@Setter(AccessLevel.PACKAGE)
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private int intermissionPeriod;
|
private int intermissionPeriod;
|
||||||
|
|
||||||
@Setter(AccessLevel.PACKAGE)
|
@Setter(AccessLevel.PACKAGE)
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private int npcSpeed;
|
private int npcSpeed;
|
||||||
|
|
||||||
@Setter(AccessLevel.PACKAGE)
|
@Setter(AccessLevel.PACKAGE)
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private Actor npcInteracting;
|
private Actor npcInteracting;
|
||||||
|
|
||||||
@Setter(AccessLevel.PACKAGE)
|
@Setter(AccessLevel.PACKAGE)
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private Specials specials;
|
private Specials specials;
|
||||||
|
|
||||||
@Setter(AccessLevel.PACKAGE)
|
@Setter(AccessLevel.PACKAGE)
|
||||||
@Getter(AccessLevel.PACKAGE)
|
|
||||||
private Attackstyle attackStyle;
|
private Attackstyle attackStyle;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user