mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Because "final static" is just backwards.
This commit is contained in:
parent
64f31f2b5a
commit
1ba498c443
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user