mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 14:38:55 +00:00
Fixed setWars()
This commit is contained in:
1 parent
7f20a552b6
commit
214ff299a8
1 file changed
+1
-2
@@ -40,14 +40,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