geforkt von Mirrors/Velocity
Add missing null check here
Dieser Commit ist enthalten in:
Ursprung
d06028e0f8
Commit
284f90183f
@ -256,6 +256,7 @@ public class VelocityServer implements ProxyServer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void broadcast(Component component) {
|
public void broadcast(Component component) {
|
||||||
|
Preconditions.checkNotNull(component, "component");
|
||||||
Chat chat = Chat.createClientbound(component);
|
Chat chat = Chat.createClientbound(component);
|
||||||
for (ConnectedPlayer player : connectionsByUuid.values()) {
|
for (ConnectedPlayer player : connectionsByUuid.values()) {
|
||||||
player.getConnection().write(chat);
|
player.getConnection().write(chat);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren