From de81a5ef82a158156af1c4c9f5719437332f3f63 Mon Sep 17 00:00:00 2001 From: Desoroxxx Date: Thu, 7 Sep 2023 20:13:01 +0200 Subject: [PATCH] Fixed Red Core using its id instead of its name for logging --- Changelog.md | 1 + .../java/io/redstudioragnarok/redcore/utils/ModReference.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 1de3e33..1e66f55 100644 --- a/Changelog.md +++ b/Changelog.md @@ -54,6 +54,7 @@ You now have `read` and `write` methods for all Vectors from Red Core, it simply ### Fixed - Fixed Red Core using the wrong GitHub issue link when logging errors +- Fixed Red Core using its id instead of its name for logging --- diff --git a/src/main/java/io/redstudioragnarok/redcore/utils/ModReference.java b/src/main/java/io/redstudioragnarok/redcore/utils/ModReference.java index 108845e..c5f5997 100644 --- a/src/main/java/io/redstudioragnarok/redcore/utils/ModReference.java +++ b/src/main/java/io/redstudioragnarok/redcore/utils/ModReference.java @@ -15,6 +15,6 @@ public class ModReference { public static final String ID = Tags.ID; public static final String NAME = "Red Core"; public static final String VERSION = Tags.VERSION; - public static final Logger LOG = LogManager.getLogger(ID); + public static final Logger LOG = LogManager.getLogger(NAME); public static final RedLogger RED_LOG = new RedLogger(NAME, "https://linkify.cz/RedCoreBugReport", LOG); }