mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-20 18:53:11 +01:00
Revert 3 commits (work will be continued in branch)
Revert "Disabling mcMMO when the config breaks is dumb" This reverts commit86e7bfbf89. Revert "Config validation rewrite part 1" This reverts commit16e90da8fd. Revert "Update changelog" This reverts commit0ccd89fad4.
This commit is contained in:
@@ -9,6 +9,7 @@ public class ChatConfig extends BukkitConfig {
|
||||
|
||||
private ChatConfig() {
|
||||
super("chat.yml");
|
||||
validate();
|
||||
}
|
||||
|
||||
public static ChatConfig getInstance() {
|
||||
@@ -25,8 +26,8 @@ public class ChatConfig extends BukkitConfig {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void validateConfigKeys() {
|
||||
//TODO: Rewrite legacy validation code
|
||||
protected boolean validateKeys() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean isChatEnabled() {
|
||||
|
||||
Reference in New Issue
Block a user