Disabled Logging for material replacement in 1.13 versions as its just spammy.
This commit is contained in:
parent
c58ed305a8
commit
d510e7ba50
@ -383,7 +383,7 @@ public class SavageFactions extends MPlugin {
|
|||||||
|
|
||||||
public void replaceStringInConfig(String path, String stringToReplace, String replacementString) {
|
public void replaceStringInConfig(String path, String stringToReplace, String replacementString) {
|
||||||
if (getConfig().getString(path).equals(stringToReplace)) {
|
if (getConfig().getString(path).equals(stringToReplace)) {
|
||||||
SavageFactions.plugin.log("Replacing legacy material '" + stringToReplace + "' with '" + replacementString + "' for config node '" + path + "'.");
|
// SavageFactions.plugin.log("Replacing legacy material '" + stringToReplace + "' with '" + replacementString + "' for config node '" + path + "'.");
|
||||||
getConfig().set(path, replacementString);
|
getConfig().set(path, replacementString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user