mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Redundant check is redundant
This commit is contained in:
parent
18f3914428
commit
182b01ac2f
@ -45,10 +45,6 @@ public abstract class ConfigLoader {
|
|||||||
protected abstract void loadKeys();
|
protected abstract void loadKeys();
|
||||||
|
|
||||||
protected void createFile() {
|
protected void createFile() {
|
||||||
if (configFile.exists()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
configFile.getParentFile().mkdirs();
|
configFile.getParentFile().mkdirs();
|
||||||
|
|
||||||
InputStream inputStream = plugin.getResource(fileName);
|
InputStream inputStream = plugin.getResource(fileName);
|
||||||
|
Loading…
Reference in New Issue
Block a user