From ab11527c86b5c1a79eba1a49571039d5c18a326b Mon Sep 17 00:00:00 2001 From: EnZaXD <60033407+FlorianMichael@users.noreply.github.com> Date: Tue, 23 Apr 2024 22:18:45 +0200 Subject: [PATCH] Reuse existing logger getter in BackwardsMappings (#726) --- .../com/viaversion/viabackwards/api/data/BackwardsMappings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/api/data/BackwardsMappings.java b/common/src/main/java/com/viaversion/viabackwards/api/data/BackwardsMappings.java index 5ecd95fe..33aa5351 100644 --- a/common/src/main/java/com/viaversion/viabackwards/api/data/BackwardsMappings.java +++ b/common/src/main/java/com/viaversion/viabackwards/api/data/BackwardsMappings.java @@ -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; }