d2ab872856
Fixed up LobbyBalancer
20 lines
423 B
Java
20 lines
423 B
Java
package mineplex.bungee.playerTracker;
|
|
|
|
import net.md_5.bungee.api.plugin.Plugin;
|
|
|
|
public class PlayerTracker
|
|
{
|
|
private Plugin _plugin;
|
|
private PlayerTrackerRepository _repository;
|
|
|
|
public PlayerTracker(Plugin plugin)
|
|
{
|
|
_plugin = plugin;
|
|
|
|
_plugin.getProxy().getPluginManager().registerCommand(_plugin, new FindCommand(_plugin));
|
|
|
|
_repository = new PlayerTrackerRepository();
|
|
_repository.initialize();
|
|
}
|
|
}
|