mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-23 05:41:19 +01:00
Fixed README
This commit is contained in:
parent
17ef81268e
commit
b18f3307b7
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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user