Skip to content

Commit

Permalink
Fixed: Loading broadcaster
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Baumann committed Jan 14, 2014
1 parent 3a6f264 commit 1d3f395
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/com/dre/managerxl/broadcaster/Broadcaster.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,20 +290,20 @@ public static void saveDefaultConfig(Config config) {
public void loadConfig() {
ConfigurationSection broadcasterConfig = P.p.config.getBroadcasterConfigSection();

maxLevel = broadcasterConfig.getInt("Broadcaster.maxLevel");
sendsPerLevel = broadcasterConfig.getInt("Broadcaster.sendsPerLevel");
minTimeInMinutes = broadcasterConfig.getInt("Broadcaster.minTimeInMinutes");
maxTimeInMinutes = broadcasterConfig.getInt("Broadcaster.maxTimeInMinutes");
broadcastColor = broadcasterConfig.getString("Broadcaster.broadcastColor");
maxLevel = broadcasterConfig.getInt("maxLevel");
sendsPerLevel = broadcasterConfig.getInt("sendsPerLevel");
minTimeInMinutes = broadcasterConfig.getInt("minTimeInMinutes");
maxTimeInMinutes = broadcasterConfig.getInt("maxTimeInMinutes");
broadcastColor = broadcasterConfig.getString("broadcastColor");

broadcastText = broadcasterConfig.getString("Broadcaster.broadcastText");
newsText = broadcasterConfig.getString("Broadcaster.newsText");
dateText = broadcasterConfig.getString("Broadcaster.dateText");
broadcastText = broadcasterConfig.getString("broadcastText");
newsText = broadcasterConfig.getString("newsText");
dateText = broadcasterConfig.getString("dateText");

broadcastFolderName = broadcasterConfig.getString("Broadcaster.broadcastFolderName");
broadcastDataFileName = broadcasterConfig.getString("Broadcaster.broadcastDataFileName");
broadcastMsgFileName = broadcasterConfig.getString("Broadcaster.broadcastMsgFileName");
broadcastFolderName = broadcasterConfig.getString("broadcastFolderName");
broadcastDataFileName = broadcasterConfig.getString("broadcastDataFileName");
broadcastMsgFileName = broadcasterConfig.getString("broadcastMsgFileName");

timeColors = (ArrayList<String>) broadcasterConfig.getList("Broadcaster.timeColors");
timeColors = (ArrayList<String>) broadcasterConfig.getList("timeColors");
}
}

0 comments on commit 1d3f395

Please sign in to comment.