Fixed extension not being registered as an extension

This commit is contained in:
Simonsator 2022-03-10 11:26:53 +01:00
parent 1a9ab68bd8
commit e3f83af233

View File

@ -17,6 +17,7 @@ public class PBServerConnector extends PAFExtension implements ServerConnector {
public void onEnable() {
PAFPlayerClass.setServerConnector(this);
ProxyServer.getInstance().getConsole().sendMessage(TextComponent.fromLegacyText("Enabled PBServerConnector connection for PlayerBalancer!"));
registerAsExtension();
}
public void connect(final ProxiedPlayer pPlayer, final ServerInfo pServerInfo) {