2016-03-29 02:55:47 +02:00
|
|
|
--- a/com/mojang/logging/LogUtils.java
|
|
|
|
+++ b/com/mojang/logging/LogUtils.java
|
2024-12-13 16:52:45 +01:00
|
|
|
@@ -61,4 +_,9 @@
|
2016-03-29 02:55:47 +02:00
|
|
|
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
|
|
|
|
}
|