Various
Fix my bad fix, Increment version, a lot has changed since 0.1.0
This commit is contained in:
@@ -79,7 +79,7 @@ import org.slf4j.LoggerFactory;
|
||||
@Slf4j
|
||||
public class RuneLite
|
||||
{
|
||||
public static final String RUNELIT_VERSION = "0.1.0";
|
||||
public static final String RUNELIT_VERSION = "0.1.1";
|
||||
public static final File RUNELITE_DIR = new File(System.getProperty("user.home"), ".runelite");
|
||||
public static final File PROFILES_DIR = new File(RUNELITE_DIR, "profiles");
|
||||
public static final File PLUGIN_DIR = new File(RUNELITE_DIR, "plugins");
|
||||
|
||||
@@ -43,10 +43,10 @@ public class PrayerTracker
|
||||
newTick.put(actor, new HashMap<>());
|
||||
}
|
||||
if (actor instanceof Player)
|
||||
if (((Player) actor).getOverheadIcon()!=null) {
|
||||
newTick.get(actor).put("PrayerIcon", ((Player) actor).getOverheadIcon().ordinal());
|
||||
newTick.get(actor).put("SpotAnim", actor.getGraphic());
|
||||
if(actor instanceof Player) {
|
||||
newTick.get(actor).put("PrayerIcon", ((Player) actor).getOverheadIcon() == null ? -1 : ((Player) actor).getOverheadIcon().ordinal());
|
||||
}
|
||||
newTick.get(actor).put("SpotAnim", actor.getGraphic());
|
||||
}
|
||||
|
||||
public int getPrayerIconLastTick(Actor p)
|
||||
|
||||
Reference in New Issue
Block a user