mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-12-10 19:28:45 +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:
@@ -22,11 +22,6 @@ public class ItemWeightConfig extends BukkitConfig {
|
||||
return instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void validateConfigKeys() {
|
||||
//TODO: Rewrite legacy validation code
|
||||
}
|
||||
|
||||
public int getItemWeight(Material material) {
|
||||
return config.getInt("Item_Weights." + StringUtils.getPrettyItemString(material).replace(" ", "_"), config.getInt("Item_Weights.Default"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user