feat: 适配API更新
This commit is contained in:
@@ -25,6 +25,7 @@ public class ServerInfoPlugin extends Plugin implements BallListener {
|
||||
@Override
|
||||
public void onEnable() {
|
||||
ProxyServer.getInstance().getServers().clear();
|
||||
getLogger().info("已清除配置文件中子服接入点配置.");
|
||||
for (BallServerInfo serverInfo : BallAPI.getInstance().getAllServerInfo().values()) {
|
||||
if (serverInfo.getType() != BallServerType.GAME) {
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user