diff --git a/SubServers.Bungee/pom.xml b/SubServers.Bungee/pom.xml
index f5006c5b..05a77f00 100644
--- a/SubServers.Bungee/pom.xml
+++ b/SubServers.Bungee/pom.xml
@@ -30,14 +30,14 @@
net.ME1312.Galaxi
GalaxiUtil
- 20w08a
+ 20w08c
compile
true
net.ME1312.Galaxi
GalaxiEngine
- 20w08a
+ 20w08c
provided
diff --git a/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Host/External/ExternalSubCreator.java b/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Host/External/ExternalSubCreator.java
index 26590128..ee0de72c 100644
--- a/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Host/External/ExternalSubCreator.java
+++ b/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Host/External/ExternalSubCreator.java
@@ -56,22 +56,22 @@ public class ExternalSubCreator extends SubCreator {
@Override
public void reload() {
- if (host.available) {
- templates.clear();
- if (new UniversalFile(host.plugin.dir, "SubServers:Templates").exists()) for (File file : new UniversalFile(host.plugin.dir, "SubServers:Templates").listFiles()) {
- try {
- if (file.isDirectory() && !file.getName().endsWith(".x")) {
- ObjectMap config = (new UniversalFile(file, "template.yml").exists())?new YAMLConfig(new UniversalFile(file, "template.yml")).get().getMap("Template", new ObjectMap()):new ObjectMap();
- ServerTemplate template = new ServerTemplate(file.getName(), config.getBoolean("Enabled", true), config.getRawString("Icon", "::NULL::"), file, config.getMap("Build", new ObjectMap()), config.getMap("Settings", new ObjectMap()));
- templates.put(file.getName().toLowerCase(), template);
- if (config.getKeys().contains("Display")) template.setDisplayName(config.getString("Display"));
- }
- } catch (Exception e) {
- System.out.println(host.getName() + "/Creator > Couldn't load template: " + file.getName());
- e.printStackTrace();
+ templates.clear();
+ if (new UniversalFile(host.plugin.dir, "SubServers:Templates").exists()) for (File file : new UniversalFile(host.plugin.dir, "SubServers:Templates").listFiles()) {
+ try {
+ if (file.isDirectory() && !file.getName().endsWith(".x")) {
+ ObjectMap config = (new UniversalFile(file, "template.yml").exists())?new YAMLConfig(new UniversalFile(file, "template.yml")).get().getMap("Template", new ObjectMap()):new ObjectMap();
+ ServerTemplate template = new ServerTemplate(file.getName(), config.getBoolean("Enabled", true), config.getRawString("Icon", "::NULL::"), file, config.getMap("Build", new ObjectMap()), config.getMap("Settings", new ObjectMap()));
+ templates.put(file.getName().toLowerCase(), template);
+ if (config.getKeys().contains("Display")) template.setDisplayName(config.getString("Display"));
}
+ } catch (Exception e) {
+ System.out.println(host.getName() + "/Creator > Couldn't load template: " + file.getName());
+ e.printStackTrace();
}
+ }
+ if (host.available) {
host.queue(new PacketExConfigureHost(host.plugin, host));
host.queue(new PacketExDownloadTemplates(host.plugin, host));
}
diff --git a/SubServers.Client/Bukkit/pom.xml b/SubServers.Client/Bukkit/pom.xml
index f6dd5d9c..23d897af 100644
--- a/SubServers.Client/Bukkit/pom.xml
+++ b/SubServers.Client/Bukkit/pom.xml
@@ -48,7 +48,7 @@
net.ME1312.Galaxi
GalaxiUtil
- 20w08a
+ 20w08c
compile
true
diff --git a/SubServers.Client/Sponge/pom.xml b/SubServers.Client/Sponge/pom.xml
index 53b280fa..dc7803b3 100644
--- a/SubServers.Client/Sponge/pom.xml
+++ b/SubServers.Client/Sponge/pom.xml
@@ -30,7 +30,7 @@
net.ME1312.Galaxi
GalaxiUtil
- 20w08a
+ 20w08c
compile
true
diff --git a/SubServers.Host/pom.xml b/SubServers.Host/pom.xml
index d178a02c..df691757 100644
--- a/SubServers.Host/pom.xml
+++ b/SubServers.Host/pom.xml
@@ -20,7 +20,7 @@
net.ME1312.Galaxi
GalaxiEngine
- 20w08a
+ 20w08c
compile
true
diff --git a/SubServers.Sync/pom.xml b/SubServers.Sync/pom.xml
index 8390e7da..922d4032 100644
--- a/SubServers.Sync/pom.xml
+++ b/SubServers.Sync/pom.xml
@@ -30,14 +30,14 @@
net.ME1312.Galaxi
GalaxiUtil
- 20w08a
+ 20w08c
compile
true
net.ME1312.Galaxi
GalaxiEngine
- 20w08a
+ 20w08c
provided