3
0

move yumc statistics to DedicatedServer

This commit is contained in:
2017-07-23 13:20:29 +08:00
parent 787f48b912
commit e5dae008ef
2 changed files with 18 additions and 17 deletions

View File

@ -43,7 +43,6 @@ public class SpigotConfig
static Map<String, Command> commands;
/*========================================================================*/
private static Metrics metrics;
private static KCXStatistics yumc_statistics;
public static void init()
{
@ -76,10 +75,6 @@ public class SpigotConfig
Bukkit.getServer().getLogger().log( Level.SEVERE, "Could not start metrics service", ex );
}
}
if(yumc_statistics==null){
yumc_statistics=new KCXStatistics();
yumc_statistics.start();
}
}
static void readConfig(Class<?> clazz, Object instance)