Improves console logging
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
This commit is contained in:
@@ -12,7 +12,6 @@ import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.logging.Level;
|
||||
|
||||
/**
|
||||
* A representation of the presets for different kinds of smiths
|
||||
@@ -133,8 +132,8 @@ public enum SmithPreset {
|
||||
} catch (IllegalArgumentException exception) {
|
||||
/* This case means that either the preset or the filter given is invalid, and thus the preset string should
|
||||
be ignored to prevent any problems. */
|
||||
BlacksmithPlugin.getInstance().getLogger().log(Level.WARNING, String.format("The smith preset %s is " +
|
||||
"invalid, and will be ignored. Please fix it!", possiblePreset));
|
||||
BlacksmithPlugin.warn(String.format("The smith preset %s is invalid, and will be ignored. Please fix it!",
|
||||
possiblePreset));
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user