We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dee825b commit ee2dc3fCopy full SHA for ee2dc3f
src/main/java/me/refracdevelopment/simplegems/managers/configuration/ConfigFile.java
@@ -72,16 +72,12 @@ public boolean getBoolean(String path) {
72
}
73
74
public String getString(String path, boolean check) {
75
- return super.getString(path, null);
+ return super.getString(path, "String at path '" + path + "' not found.").replace("|", "\u2503");
76
77
78
@Override
79
public String getString(String path) {
80
- if (super.contains(path)) {
81
- return super.getString(path, "String at path '" + path + "' not found.").replace("|", "\u2503");
82
- }
83
-
84
- return null;
85
86
87
0 commit comments