getAbilityDetails using map and list interface

Changes so it uses the interface rather than the concrete class.
This commit is contained in:
Sam 2016-07-19 22:38:32 +01:00
parent 7e26480452
commit d53a917627
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
package mineplex.core.progression;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.bukkit.Material;
@ -55,7 +55,7 @@ public interface ProgressiveKit
*
* @return The map of upgrades and their details
*/
HashMap<Integer, ArrayList<KitAbilityDetail>> getAbilityDetails();
Map<Integer, List<KitAbilityDetail>> getAbilityDetails();
/**
* Retrieve the current level of this kit