mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-09 04:20:32 +01:00
Commit before modules
This commit is contained in:
parent
f84b6eb5f2
commit
8ad1717fd6
@ -65,13 +65,14 @@ public enum ProviderType {
|
||||
@Override
|
||||
public ServerInfo requestTarget(PlayerBalancer plugin, ServerSection section, List<ServerInfo> servers, ProxiedPlayer player) {
|
||||
return provider.requestTarget(plugin, section, servers, player);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
EXTERNAL {
|
||||
@Override
|
||||
public ServerInfo requestTarget(PlayerBalancer plugin, ServerSection section, List<ServerInfo> servers, ProxiedPlayer player) {
|
||||
return section.getExternalProvider().requestTarget(plugin, section, servers, player);
|
||||
AbstractProvider provider = section.getExternalProvider();
|
||||
return provider.requestTarget(plugin, section, servers, player);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.jaimemartz.playerbalancer.connection.provider.types;
|
||||
|
||||
import com.jaimemartz.playerbalancer.PlayerBalancer;
|
||||
import com.jaimemartz.playerbalancer.connection.ProviderType;
|
||||
import com.jaimemartz.playerbalancer.connection.provider.AbstractProvider;
|
||||
import com.jaimemartz.playerbalancer.ping.ServerStatus;
|
||||
import com.jaimemartz.playerbalancer.section.ServerSection;
|
||||
|
Loading…
Reference in New Issue
Block a user