From 43b52c8d6153e83dd83ba38963f1ca787e0b937b Mon Sep 17 00:00:00 2001
From: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Date: Sat, 27 Apr 2024 11:41:56 -0700
Subject: [PATCH] Unify plugin remapping debug flags

---
 patches/server/Plugin-remapping.patch | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/patches/server/Plugin-remapping.patch b/patches/server/Plugin-remapping.patch
index 6a15932869..0de5d38f1a 100644
--- a/patches/server/Plugin-remapping.patch
+++ b/patches/server/Plugin-remapping.patch
@@ -239,13 +239,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +
 +/**
 + * {@link PrintWriter}-backed logger implementation for use with {@link net.neoforged.art.api.Renamer} which
-+ * only opens the backing writer and logs messages when the {@link #DEBUG} system property
++ * only opens the backing writer and logs messages when the {@link PluginRemapper#DEBUG_LOGGING} system property
 + * is set to true.
 + */
 +@DefaultQualifier(NonNull.class)
 +final class DebugLogger implements Consumer<String>, AutoCloseable {
-+    private static final boolean DEBUG = Boolean.getBoolean("paper.remap-debug");
-+
 +    private final @Nullable PrintWriter writer;
 +
 +    DebugLogger(final Path logFile) {
@@ -282,7 +280,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +    }
 +
 +    private static @Nullable PrintWriter createWriter(final Path logFile) throws IOException {
-+        if (!DEBUG) {
++        if (!PluginRemapper.DEBUG_LOGGING) {
 +            return null;
 +        }
 +        if (!Files.exists(logFile.getParent())) {