combatcounter: Final fields

This commit is contained in:
sdburns1998
2019-07-07 04:52:35 +02:00
parent 54dbb968b6
commit 71b00d32ae
2 changed files with 4 additions and 4 deletions

View File

@@ -89,9 +89,9 @@ public class CombatCounter extends Plugin
@Getter(AccessLevel.PACKAGE)
private Map<String, Long> counter = new HashMap<>();
private Map<String, Long> blowpipe = new HashMap<>();
private final Map<String, Long> blowpipe = new HashMap<>();
private Map<NPC, NPCDamageCounter> npcDamageMap = new HashMap<>();
private final Map<NPC, NPCDamageCounter> npcDamageMap = new HashMap<>();
Map<String, Double> playerDamage = new HashMap<>();
@Getter(AccessLevel.PACKAGE)

View File

@@ -10,9 +10,9 @@ import javax.inject.Singleton;
class NPCDamageCounter
{
Map<Integer, List<String>> attackers;
final Map<Integer, List<String>> attackers;
List<Integer> damage;
final List<Integer> damage;
NPCDamageCounter()
{