Fixed class from massive error

This commit is contained in:
Auxilor 2021-04-18 12:17:24 +01:00
parent 9b61d073d4
commit 01733208b6

View File

@ -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();
}
}