getAbilityDetails using map and list interface
Changes so it uses the interface rather than the concrete class.
This commit is contained in:
parent
7e26480452
commit
d53a917627
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue