From 5bc7549b8c3e7efcc6116b1b084d5e02c0a68d1b Mon Sep 17 00:00:00 2001 From: Jonathan Williams Date: Sat, 19 Jul 2014 14:48:05 -0700 Subject: [PATCH] Disabled news because of console errors. --- Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java | 2 +- .../Mineplex.Hub/src/mineplex/hub/modules/NewsManager.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java index 557316935..ac9eda6ba 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java @@ -285,7 +285,7 @@ public class HubManager extends MiniClientPlugin public void AddCommands() { AddCommand(new GadgetToggle(this)); - AddCommand(new NewsCommand(this)); + //AddCommand(new NewsCommand(this)); } @EventHandler(priority = EventPriority.HIGHEST) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/modules/NewsManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/modules/NewsManager.java index c553598aa..6fac74c51 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/modules/NewsManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/modules/NewsManager.java @@ -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)