mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 14:38:55 +00:00
1 parent
8d8710c762
commit
dadf7aa0c8
1 file changed
+1
-2
@@ -41,14 +41,13 @@ public class Main extends JavaPlugin {
|
||||
econ = null;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static void initData() {
|
||||
File userDataFolder = new File("plugins" + File.separator + "AlathraWar" + File.separator + "userdata");
|
||||
if (!userDataFolder.exists()) {
|
||||
userDataFolder.mkdirs();
|
||||
}
|
||||
|
||||
War.wars = WarData.createWars();
|
||||
WarData.setWars(WarData.createWars());
|
||||
|
||||
try {
|
||||
Set<String> siegeSet = (Set<String>) siegeData.getConfig().getConfigurationSection("Sieges").getKeys(false);
|
||||
|
||||
Reference in new issue
Block a user