Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Add missing null check here
Dieser Commit ist enthalten in:
Ursprung
d06028e0f8
Commit
284f90183f
@ -256,6 +256,7 @@ public class VelocityServer implements ProxyServer {
|
||||
|
||||
@Override
|
||||
public void broadcast(Component component) {
|
||||
Preconditions.checkNotNull(component, "component");
|
||||
Chat chat = Chat.createClientbound(component);
|
||||
for (ConnectedPlayer player : connectionsByUuid.values()) {
|
||||
player.getConnection().write(chat);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren