First few files and initial rebuild

This commit is contained in:
Nassim Jahnke
2024-12-13 16:52:45 +01:00
parent b2fd9b225c
commit f2ff5966a6
8 changed files with 22 additions and 33 deletions

View File

@@ -0,0 +1,12 @@
--- a/com/mojang/logging/LogUtils.java
+++ b/com/mojang/logging/LogUtils.java
@@ -61,4 +_,9 @@
public static Logger getLogger() {
return LoggerFactory.getLogger(STACK_WALKER.getCallerClass());
}
+ // Paper start
+ public static Logger getClassLogger() {
+ return LoggerFactory.getLogger(STACK_WALKER.getCallerClass().getSimpleName());
+ }
+ // Paper end
}