Because "final static" is just backwards.

This commit is contained in:
GJ 2012-07-06 00:12:17 -04:00
parent 64f31f2b5a
commit 1ba498c443
2 changed files with 6 additions and 6 deletions

View File

@ -11,11 +11,11 @@ public final class SpoutToolsAPI {
private SpoutToolsAPI() {}
public final static List<ItemStack> spoutSwords = new ArrayList<ItemStack>();
public final static List<ItemStack> spoutAxes = new ArrayList<ItemStack>();
public final static List<ItemStack> spoutPickaxes = new ArrayList<ItemStack>();
public final static List<ItemStack> spoutHoes = new ArrayList<ItemStack>();
public final static List<ItemStack> spoutShovels = new ArrayList<ItemStack>();
public static final List<ItemStack> spoutSwords = new ArrayList<ItemStack>();
public static final List<ItemStack> spoutAxes = new ArrayList<ItemStack>();
public static final List<ItemStack> spoutPickaxes = new ArrayList<ItemStack>();
public static final List<ItemStack> spoutHoes = new ArrayList<ItemStack>();
public static final List<ItemStack> spoutShovels = new ArrayList<ItemStack>();
/**
* Add a custom Spout tool to mcMMO for XP gain & ability use.

View File

@ -12,7 +12,7 @@ import com.gmail.nossr50.mcMMO;
public class ChunkletUnloader implements Runnable {
private static Map<Chunk, Integer> unloadedChunks = new HashMap<Chunk, Integer>();
private static int minimumInactiveTime = 60; //Should be a multiple of RUN_INTERVAL for best performance
public final static int RUN_INTERVAL = 20;
public static final int RUN_INTERVAL = 20;
public static void addToList(Chunk chunk) {
//Unfortunately we can't use Map.contains() because Chunks are always new objects