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. * "give" command.
* *
* @param level The level of the hopper * @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 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 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 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 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. * @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); Level getLevel(int level);

View File

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