Allow specifying location of spigot.yml

As requested here: http://www.spigotmc.org/threads/specify-location-of-spigot-yml.67747/
This commit is contained in:
Ginger Geek
2015-05-25 20:09:58 +01:00
parent dd2580a742
commit 8050f01466
25 changed files with 100 additions and 30 deletions

View File

@@ -665,7 +665,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
/*========================================================================*/
+ private static Metrics metrics;
public static void init()
public static void init(File configFile)
{
@@ -0,0 +0,0 @@ public class SpigotConfig
{
@@ -686,4 +686,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
static void readConfig(Class<?> clazz, Object instance)
--
--
1.9.0.msysgit.0