Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 00:50:13 +01:00
Don't print mapping validity warning if conversion warnings are disabled
Dieser Commit ist enthalten in:
Ursprung
6fa387e6ab
Commit
6c0d891c9f
@ -243,7 +243,9 @@ public class MappingDataBase implements MappingData {
|
|||||||
*/
|
*/
|
||||||
protected int checkValidity(final int id, final int mappedId, final String type) {
|
protected int checkValidity(final int id, final int mappedId, final String type) {
|
||||||
if (mappedId == -1) {
|
if (mappedId == -1) {
|
||||||
getLogger().warning(String.format("Missing %s %s for %s %s %d", mappedVersion, type, unmappedVersion, type, id));
|
if (!Via.getConfig().isSuppressConversionWarnings()) {
|
||||||
|
getLogger().warning(String.format("Missing %s %s for %s %s %d", mappedVersion, type, unmappedVersion, type, id));
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return mappedId;
|
return mappedId;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren