mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Make 'em final
This commit is contained in:
		@@ -11,11 +11,11 @@ public final class SpoutToolsAPI {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    private SpoutToolsAPI() {}
 | 
					    private SpoutToolsAPI() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public static List<ItemStack> spoutSwords = new ArrayList<ItemStack>();
 | 
					    public final static List<ItemStack> spoutSwords = new ArrayList<ItemStack>();
 | 
				
			||||||
    public static List<ItemStack> spoutAxes = new ArrayList<ItemStack>();
 | 
					    public final static List<ItemStack> spoutAxes = new ArrayList<ItemStack>();
 | 
				
			||||||
    public static List<ItemStack> spoutPickaxes = new ArrayList<ItemStack>();
 | 
					    public final static List<ItemStack> spoutPickaxes = new ArrayList<ItemStack>();
 | 
				
			||||||
    public static List<ItemStack> spoutHoes = new ArrayList<ItemStack>();
 | 
					    public final static List<ItemStack> spoutHoes = new ArrayList<ItemStack>();
 | 
				
			||||||
    public static List<ItemStack> spoutShovels = new ArrayList<ItemStack>();
 | 
					    public final static List<ItemStack> spoutShovels = new ArrayList<ItemStack>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Add a custom Spout tool to mcMMO for XP gain & ability use.
 | 
					     * 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 {
 | 
					public class ChunkletUnloader implements Runnable {
 | 
				
			||||||
    private static Map<Chunk, Integer> unloadedChunks = new HashMap<Chunk, Integer>();
 | 
					    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
 | 
					    private static int minimumInactiveTime = 60; //Should be a multiple of RUN_INTERVAL for best performance
 | 
				
			||||||
    public static int RUN_INTERVAL = 20;
 | 
					    public final static int RUN_INTERVAL = 20;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public static void addToList(Chunk chunk) {
 | 
					    public static void addToList(Chunk chunk) {
 | 
				
			||||||
        //Unfortunately we can't use Map.contains() because Chunks are always new objects
 | 
					        //Unfortunately we can't use Map.contains() because Chunks are always new objects
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user