3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-02 08:00:07 +02:00
Dieser Commit ist enthalten in:
Joshua Castle 2022-12-28 02:16:52 -08:00
Ursprung e3dcb6d65a
Commit 7988882f91
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: F674F38216C35D5D

Datei anzeigen

@ -122,7 +122,8 @@ public class MappingsConfigReader {
JsonNode mappingsRoot = getMappingsRoot(file);
int formatVersion = getFormatVersion(mappingsRoot, file);
if (formatVersion < 0) {
if (formatVersion < 0 || mappingsRoot == null) {
return;
}
@ -133,7 +134,8 @@ public class MappingsConfigReader {
JsonNode mappingsRoot = getMappingsRoot(file);
int formatVersion = getFormatVersion(mappingsRoot, file);
if (formatVersion < 0) {
if (formatVersion < 0 || mappingsRoot == null) {
return;
}