fix double event firing

This commit is contained in:
ThatGamerBlue
2020-02-02 15:31:55 +00:00
parent c651d382ce
commit 0e4d156487

View File

@@ -162,16 +162,6 @@ public class FreezeTimersPlugin extends Plugin
{
prayerTracker.gameTick();
for (Actor actor : client.getPlayers())
{
if (prayerTracker.getSpotanimLastTick(actor) != actor.getSpotAnimation())
{
SpotAnimationChanged callback = new SpotAnimationChanged();
callback.setActor(actor);
client.getCallbacks().post(SpotAnimationChanged.class, callback);
}
}
List<Actor> teleblocked = timers.getAllActorsOnTimer(TimerType.TELEBLOCK);
if (!teleblocked.isEmpty())