forked from circlecloud/MiaoChat
feat: 修复跨服分组异常的问题
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
f22113584d
commit
4fcaef1031
5
pom.xml
5
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>MiaoChat</artifactId>
|
||||
<version>1.8.9</version>
|
||||
<version>1.9.0</version>
|
||||
|
||||
<parent>
|
||||
<groupId>pw.yumc</groupId>
|
||||
@ -13,8 +13,9 @@
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<update.description>§a正式版本 §bv1.8.9 §a兼容 Spigot 1.13.2</update.description>
|
||||
<update.description>§a正式版本 §bv1.9.0 §a兼容 Spigot 1.13.2</update.description>
|
||||
<update.changes>
|
||||
§620-02-15 §c修复: 跨服分组分配异常的问题;
|
||||
§619-05-31 §a增强: 跨服聊天压缩数据 增加可传输内容大小;
|
||||
§619-05-29 §c修复: 1.7.10不兼容的问题;
|
||||
§619-02-23 §c修复: BungeeCord 兼容性问题;
|
||||
|
@ -56,6 +56,11 @@ public class MiaoChatBungee extends Plugin implements Listener {
|
||||
if (temp.containsKey(s)) {
|
||||
ServerInfo serverInfo = temp.get(s);
|
||||
unused.remove(serverInfo);
|
||||
servers.forEach(ss -> {
|
||||
if (temp.containsKey(ss) && !ss.equals(s)) {
|
||||
serverInfos.add(temp.get(ss));
|
||||
}
|
||||
});
|
||||
groups.put(serverInfo.getAddress(), serverInfos);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user