Makes sure to only use the file helper after settings have been loaded
This commit is contained in:
parent
ef3815f91a
commit
a009430ba0
@ -120,9 +120,9 @@ public class BooksWithoutBorders extends JavaPlugin {
|
||||
booksWithoutBorders = this;
|
||||
consoleSender = this.getServer().getConsoleSender();
|
||||
playerBooksList = new HashMap<>();
|
||||
publicBooksList = FileHelper.listFiles(consoleSender, true);
|
||||
firstBooks = new ArrayList<>();
|
||||
BooksWithoutBordersSettings.initialize(this);
|
||||
publicBooksList = FileHelper.listFiles(consoleSender, true);
|
||||
|
||||
PluginManager pluginManager = this.getServer().getPluginManager();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user