mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-21 03:03:02 +01:00
Config validation rewrite part 1
This commit is contained in:
@@ -9,7 +9,6 @@ public class ChatConfig extends BukkitConfig {
|
||||
|
||||
private ChatConfig() {
|
||||
super("chat.yml");
|
||||
validate();
|
||||
}
|
||||
|
||||
public static ChatConfig getInstance() {
|
||||
@@ -26,8 +25,8 @@ public class ChatConfig extends BukkitConfig {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean validateKeys() {
|
||||
return true;
|
||||
protected void validateConfigKeys() {
|
||||
//TODO: Rewrite legacy validation code
|
||||
}
|
||||
|
||||
public boolean isChatEnabled() {
|
||||
|
||||
Reference in New Issue
Block a user