mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-24 20:07:34 +01:00
Fixed class from massive error
This commit is contained in:
parent
9b61d073d4
commit
01733208b6
@ -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