Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 13:30:06 +01:00
Fixed NPE when a client queries a server that is unable to handle it.
Dieser Commit ist enthalten in:
Ursprung
85c0c1bb51
Commit
72e5ea6cc3
@ -131,6 +131,7 @@ public class NetLoginHandler extends NetHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void a(Packet254GetInfo packet254getinfo) {
|
public void a(Packet254GetInfo packet254getinfo) {
|
||||||
|
if (this.networkManager.f() == null) return; // CraftBukkit - fix NPE when a client queries a server that is unable to handle it.
|
||||||
try {
|
try {
|
||||||
String s = this.server.p + "\u00A7" + this.server.serverConfigurationManager.g() + "\u00A7" + this.server.serverConfigurationManager.h();
|
String s = this.server.p + "\u00A7" + this.server.serverConfigurationManager.g() + "\u00A7" + this.server.serverConfigurationManager.h();
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren