2020-04-17 01:18:51 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: AvrooVulcan <avrovulcan.programming@gmail.com>
|
|
|
|
Date: Fri, 17 Apr 2020 00:15:23 +0100
|
|
|
|
Subject: [PATCH] Broadcast join message to console
|
|
|
|
|
|
|
|
|
2021-03-16 08:19:45 +01:00
|
|
|
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
|
2020-05-06 11:48:49 +02:00
|
|
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
2021-03-16 08:19:45 +01:00
|
|
|
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
|
2020-04-17 01:18:51 +02:00
|
|
|
@@ -0,0 +0,0 @@ public abstract class PlayerList {
|
|
|
|
|
2021-02-22 09:03:03 +01:00
|
|
|
if (jm != null && !jm.equals(net.kyori.adventure.text.Component.empty())) { // Paper - Adventure
|
2021-03-08 21:36:03 +01:00
|
|
|
joinMessage = PaperAdventure.asVanilla(jm); // Paper - Adventure
|
2021-02-21 20:45:33 +01:00
|
|
|
- server.getPlayerList().sendAll(new PacketPlayOutChat(joinMessage, ChatMessageType.SYSTEM, SystemUtils.b)); // Paper - Adventure
|
2020-04-17 01:18:51 +02:00
|
|
|
+ // Paper start - Removed sendAll for loop and broadcasted to console also
|
2021-02-21 20:45:33 +01:00
|
|
|
+ server.getPlayerList().sendMessage(joinMessage); // Paper - Adventure
|
2020-04-17 01:18:51 +02:00
|
|
|
+ // Paper end
|
|
|
|
}
|
|
|
|
// CraftBukkit end
|
|
|
|
|