freezetimers: Use interface insead of type
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
package net.runelite.client.plugins.freezetimers;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -40,8 +41,8 @@ public class PrayerTracker
|
||||
@Inject
|
||||
private Client client;
|
||||
|
||||
private HashMap<Actor, HashMap<String, Integer>> lastTick = new HashMap<>();
|
||||
private HashMap<Actor, HashMap<String, Integer>> newTick = new HashMap<>();
|
||||
private Map<Actor, HashMap<String, Integer>> lastTick = new HashMap<>();
|
||||
private Map<Actor, HashMap<String, Integer>> newTick = new HashMap<>();
|
||||
|
||||
public void gameTick()
|
||||
{
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
package net.runelite.client.plugins.freezetimers;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.inject.Singleton;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.runelite.api.Actor;
|
||||
@@ -32,7 +33,7 @@ import net.runelite.api.Actor;
|
||||
@Singleton
|
||||
public class Timers
|
||||
{
|
||||
private HashMap<Actor, HashMap<TimerType, Long>> timerMap = new HashMap<>();
|
||||
private Map<Actor, HashMap<TimerType, Long>> timerMap = new HashMap<>();
|
||||
|
||||
void gameTick()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user