Skip to content

Commit 04a5da3

Browse files
committed
Changes -> added getFloat
1 parent 719c164 commit 04a5da3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/main/java/de/einfachesache/api/util/FileUtils.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ public boolean getBoolean(String path) {
138138
return this.getConfig().getBoolean(path);
139139
}
140140

141+
public float getFloat(String path) {
142+
return this.getConfig().getFloat(path);
143+
}
144+
141145
public double getDouble(String path) {
142146
return this.getConfig().getDouble(path);
143147
}
@@ -179,6 +183,10 @@ public boolean getBoolean(String path, boolean def) {
179183
return this.getConfig().getBoolean(path, def);
180184
}
181185

186+
public float getFloat(String path, float def) {
187+
return this.getConfig().getFloat(path, def);
188+
}
189+
182190
public double getDouble(String path, double def) {
183191
return this.getConfig().getDouble(path, def);
184192
}

0 commit comments

Comments
 (0)