2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-10 09:00:26 +00:00

Minor refactor and fixes.

This commit is contained in:
Tux
2013-12-23 23:42:56 -05:00
parent d079990a3a
commit f240742489
3 changed files with 5 additions and 4 deletions

View File

@@ -36,7 +36,6 @@ import java.util.logging.Level;
*/
public final class RedisBungee extends Plugin implements Listener {
private static final ServerPing.PlayerInfo[] EMPTY_PLAYERINFO = new ServerPing.PlayerInfo[]{};
private RedisBungeeCommandSender commandSender = new RedisBungeeCommandSender();
private static Configuration configuration;
private JedisPool pool;
private RedisBungee plugin;
@@ -390,7 +389,7 @@ public final class RedisBungee extends Plugin implements Listener {
cmd = s2;
}
getLogger().info("Invoking command from PubSub: /" + s2);
getProxy().getPluginManager().dispatchCommand(commandSender, cmd);
getProxy().getPluginManager().dispatchCommand(RedisBungeeCommandSender.instance, cmd);
}
@Override