mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
b01c811c2f
== AT == public net.minecraft.server.level.ServerChunkCache mainThread public net.minecraft.server.level.ServerLevel chunkSource public org.bukkit.craftbukkit.inventory.CraftItemStack handle public net.minecraft.server.level.ChunkMap getVisibleChunkIfPresent(J)Lnet/minecraft/server/level/ChunkHolder; public net.minecraft.server.level.ServerChunkCache mainThreadProcessor public net.minecraft.server.level.ServerChunkCache$MainThreadExecutor public net.minecraft.world.level.chunk.LevelChunkSection states
12 lines
396 B
Diff
12 lines
396 B
Diff
--- a/com/mojang/logging/LogUtils.java
|
|
+++ b/com/mojang/logging/LogUtils.java
|
|
@@ -61,4 +61,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
|
|
}
|