Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-23 23:00:35 +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