mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-09-28 04:37:38 +02:00
Reuse existing logger getter in BackwardsMappings (#726)
This commit is contained in:
parent
87f2a6ba7b
commit
ab11527c86
@ -142,7 +142,7 @@ public class BackwardsMappings extends MappingDataBase {
|
|||||||
|
|
||||||
public @Nullable String mappedEntityName(final String entityName) {
|
public @Nullable String mappedEntityName(final String entityName) {
|
||||||
if (entityNames == null) {
|
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();
|
new Exception().printStackTrace();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user