Made final some vars

This commit is contained in:
Fabrizio La Rosa 2020-07-14 19:39:09 +02:00
parent 5ed66a0b90
commit 2fe3f5c661
2 changed files with 6 additions and 7 deletions

View File

@ -30,11 +30,10 @@ import java.util.*;
import java.util.Map.Entry;
public final class IslandLevelManager {
private final static int VERSION = NMSUtil.getVersionNumber();
private Map<Island, IslandScan> inScan;
private Map<CompatibleMaterial, Long> worth;
private Map<CompatibleMaterial, AmountMaterialPair> cachedPairs;
private final Map<Island, IslandScan> inScan;
private final Map<CompatibleMaterial, Long> worth;
private final Map<CompatibleMaterial, AmountMaterialPair> cachedPairs;
private final SkyBlock plugin;
public IslandLevelManager(SkyBlock plugin) {

View File

@ -2,8 +2,8 @@ package com.songoda.skyblock.placeholder;
public class Placeholder {
private String placeholder;
private String result;
private final String placeholder;
private final String result;
public Placeholder(String placeholder, String result) {
this.placeholder = placeholder;