Reuse existing logger getter in BackwardsMappings (#726)

This commit is contained in:
EnZaXD 2024-04-23 22:18:45 +02:00 committed by GitHub
parent 87f2a6ba7b
commit ab11527c86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,7 +142,7 @@ public class BackwardsMappings extends MappingDataBase {
public @Nullable String mappedEntityName(final String entityName) {
if (entityNames == null) {
ViaBackwards.getPlatform().getLogger().severe("No entity mappings found when requesting them for " + entityName);
getLogger().severe("No entity mappings found when requesting them for " + entityName);
new Exception().printStackTrace();
return null;
}