forked from circlecloud/MiaoChat
fix: 控制台重复输出聊天信息
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
f18647a2c6
commit
a6653ade3d
8
pom.xml
8
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>pw.yumc</groupId>
|
<groupId>pw.yumc</groupId>
|
||||||
<artifactId>MiaoChat</artifactId>
|
<artifactId>MiaoChat</artifactId>
|
||||||
<version>1.8</version>
|
<version>1.8.1</version>
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.name}</finalName>
|
<finalName>${project.name}</finalName>
|
||||||
<resources>
|
<resources>
|
||||||
@ -70,6 +70,12 @@
|
|||||||
<url>http://ci.yumc.pw/job/${project.artifactId}/</url>
|
<url>http://ci.yumc.pw/job/${project.artifactId}/</url>
|
||||||
</ciManagement>
|
</ciManagement>
|
||||||
<properties>
|
<properties>
|
||||||
|
<update.description>§a正式版本 §b${project.version} §a版本</update.description>
|
||||||
|
<update.changes>
|
||||||
|
§617-04-07 §c修复: 控制台重复输出聊天信息;
|
||||||
|
</update.changes>
|
||||||
|
<update.changelog>
|
||||||
|
</update.changelog>
|
||||||
<env.GIT_COMMIT>DEV</env.GIT_COMMIT>
|
<env.GIT_COMMIT>DEV</env.GIT_COMMIT>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
|
@ -120,7 +120,6 @@ public class ChatListener implements Listener {
|
|||||||
receive.clear();
|
receive.clear();
|
||||||
plist.removeAll(offList);
|
plist.removeAll(offList);
|
||||||
plist.forEach(tr::send);
|
plist.forEach(tr::send);
|
||||||
Bukkit.getConsoleSender().sendMessage(tr.toOldMessageFormat());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private Tellraw handleTellraw(Player player, Tellraw tr, ChatRule cr, String message) {
|
private Tellraw handleTellraw(Player player, Tellraw tr, ChatRule cr, String message) {
|
||||||
|
Loading…
Reference in New Issue
Block a user