Fixed README
This commit is contained in:
10
README.md
10
README.md
@@ -25,13 +25,11 @@
|
||||
</p>
|
||||
|
||||
|
||||
[]()
|
||||
[]()
|
||||
[](https://ecoenchants.willfp.com/enchantments/all-enchantments)
|
||||
[]()
|
||||
[]()
|
||||
[]()
|
||||
[](https://ecoenchants.willfp.com/enchantments/all-enchantments)
|
||||
[]()
|
||||
|
||||
## License
|
||||
|
||||
*Click here to read [the entire license](https://github.com/Auxilor/EcoEnchants/blob/master/LICENSE.md).*
|
||||
|
||||
Distributing compiled versions of the plugin is not permitted.
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
package com.willfp.ecoskills.classes;
|
||||
|
||||
import com.willfp.ecoskills.config.ClassConfig;
|
||||
import lombok.Getter;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public abstract class SkillClass {
|
||||
/**
|
||||
* The name of the class.
|
||||
*/
|
||||
@Getter
|
||||
private final String name;
|
||||
|
||||
/**
|
||||
* The config for the skill class.
|
||||
*/
|
||||
@Getter
|
||||
private final ClassConfig config;
|
||||
|
||||
protected SkillClass(@NotNull final String name) {
|
||||
this.name = name;
|
||||
this.config = new ClassConfig(name, this.getClass());
|
||||
|
||||
this.update();
|
||||
|
||||
SkillClasses.addNewSkillClass(this);
|
||||
}
|
||||
|
||||
public void update() {
|
||||
config.update();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user