Fixed typo

This commit is contained in:
Brianna O'Keefe 2018-08-13 11:36:12 -04:00
parent 66e084ca65
commit eb46531fdc
2 changed files with 4 additions and 4 deletions

View File

@ -10,14 +10,14 @@ public interface LevelManager {
* "give" command.
*
* @param level The level of the hopper
* @param costExperiance The cost in experience to upgrade the hopper
* @param costExperience The cost in experience to upgrade the hopper
* @param costEconomy The cost in economy to upgrade the hopper
* @param range The range in which this hopper will need to be in order to sync with another hopper
* @param amount The amount of items this hopper will transfer at a single time
* @param suction The distance in which this hopper will suck items into it
* @param blockBreak The tick frequency in which this hopper will break blocks placed directly above it.
*/
void addLevel(int level, int costExperiance, int costEconomy, int range, int amount, int suction, int blockBreak);
void addLevel(int level, int costExperience, int costEconomy, int range, int amount, int suction, int blockBreak);
Level getLevel(int level);

View File

@ -12,8 +12,8 @@ public class ELevelManager implements LevelManager {
private final NavigableMap<Integer, ELevel> registeredLevels = new TreeMap<>();
@Override
public void addLevel(int level, int costExperiance, int costEconomy, int range, int amount, int suction, int blockBreak) {
registeredLevels.put(level, new ELevel(level, costExperiance, costEconomy, range, amount, suction, blockBreak));
public void addLevel(int level, int costExperience, int costEconomy, int range, int amount, int suction, int blockBreak) {
registeredLevels.put(level, new ELevel(level, costExperience, costEconomy, range, amount, suction, blockBreak));
}
@Override