folder creation
This commit is contained in:
parent
30dca8f678
commit
252498c3e4
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ public class YamlStorage implements NpcStorage {
|
|||
|
||||
public YamlStorage() {
|
||||
npcsFolder = new File(ZNpcsPlus.PLUGIN_FOLDER, "npcs");
|
||||
if (npcsFolder.exists()) npcsFolder.mkdirs();
|
||||
if (!npcsFolder.exists()) npcsFolder.mkdirs();
|
||||
}
|
||||
|
||||
@SuppressWarnings("ConstantConditions")
|
||||
|
|
Loading…
Reference in a new issue