Disabled news because of console errors.

This commit is contained in:
Jonathan Williams 2014-07-19 14:48:05 -07:00
parent fc43f434f0
commit 5bc7549b8c
2 changed files with 5 additions and 3 deletions

View File

@ -285,7 +285,7 @@ public class HubManager extends MiniClientPlugin<HubClient>
public void AddCommands()
{
AddCommand(new GadgetToggle(this));
AddCommand(new NewsCommand(this));
//AddCommand(new NewsCommand(this));
}
@EventHandler(priority = EventPriority.HIGHEST)

View File

@ -41,7 +41,7 @@ public class NewsManager extends MiniPlugin
Manager = manager;
_repository.initialize(manager.GetPlugin().getConfig().getBoolean("serverstatus.us"));
//_repository.initialize(manager.GetPlugin().getConfig().getBoolean("serverstatus.us"));
_news = new String[]
{
@ -49,7 +49,7 @@ public class NewsManager extends MiniPlugin
"Survival: " + C.cGreen + C.Bold + "UHC Alpha",
};
RefreshNews();
//RefreshNews();
}
private void RefreshNews()
@ -187,6 +187,7 @@ public class NewsManager extends MiniPlugin
});
}
/*
@EventHandler
public void NewsUpdate(UpdateEvent event)
{
@ -195,6 +196,7 @@ public class NewsManager extends MiniPlugin
RefreshNews();
}
*/
@EventHandler
public void FlightUpdate(UpdateEvent event)