Disabled news because of console errors.
This commit is contained in:
parent
fc43f434f0
commit
5bc7549b8c
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user