timers
This commit is contained in:
@@ -38,7 +38,7 @@ import net.runelite.api.coords.WorldPoint;
|
||||
import net.runelite.api.events.ActorDeath;
|
||||
import net.runelite.api.events.AnimationChanged;
|
||||
import net.runelite.api.events.HitsplatApplied;
|
||||
import net.runelite.api.events.SpotAnimationChanged;
|
||||
import net.runelite.api.events.GraphicChanged;
|
||||
import net.runelite.api.events.InteractingChanged;
|
||||
import net.runelite.api.events.OverheadTextChanged;
|
||||
import java.awt.Graphics2D;
|
||||
@@ -197,9 +197,9 @@ public abstract class RSActorMixin implements RSActor
|
||||
@Inject
|
||||
public void spotAnimationChanged(int idx)
|
||||
{
|
||||
SpotAnimationChanged spotAnimationChanged = new SpotAnimationChanged();
|
||||
spotAnimationChanged.setActor(this);
|
||||
client.getCallbacks().post(spotAnimationChanged);
|
||||
GraphicChanged graphicChanged = new GraphicChanged();
|
||||
graphicChanged.setActor(this);
|
||||
client.getCallbacks().post(graphicChanged);
|
||||
}
|
||||
|
||||
@FieldHook("targetIndex")
|
||||
|
||||
@@ -639,20 +639,6 @@ public abstract class RSClientMixin implements RSClient
|
||||
return varps[varpId];
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public int getVarpValue(int varpId)
|
||||
{
|
||||
return getVarpValue(getVarps(), varpId);
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public void setVarpValue(int[] varps, int varpId, int value)
|
||||
{
|
||||
varps[varpId] = value;
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public boolean isPrayerActive(Prayer prayer)
|
||||
@@ -1975,5 +1961,11 @@ public abstract class RSClientMixin implements RSClient
|
||||
{
|
||||
return this.outdatedScripts;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Widget getWidget(int i)
|
||||
{
|
||||
return getWidget(i, i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ public abstract class RSNPCMixin implements RSNPC
|
||||
}
|
||||
else if (this.getId() != -1)
|
||||
{
|
||||
client.getCallbacks().post(new NpcChanged(this));
|
||||
client.getCallbacks().post(new NpcChanged(this, composition));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user