mirror of
https://github.com/FabricMC/fabric.git
synced 2024-12-01 03:47:18 -05:00
Screen API: Fix MinecraftClientMixin overwriting the vanilla logger (#2726)
(cherry picked from commit 1d4d0b5795
)
This commit is contained in:
parent
5d5f11fb3d
commit
b0bc9a679c
1 changed files with 2 additions and 0 deletions
|
@ -34,7 +34,9 @@ import net.fabricmc.loader.api.FabricLoader;
|
|||
|
||||
@Mixin(MinecraftClient.class)
|
||||
abstract class MinecraftClientMixin {
|
||||
@Unique
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger("fabric-screen-api-v1");
|
||||
@Unique
|
||||
private static final boolean DEBUG_SCREEN = FabricLoader.getInstance().isDevelopmentEnvironment() || Boolean.getBoolean("fabric.debugScreen");
|
||||
|
||||
@Shadow
|
||||
|
|
Loading…
Reference in a new issue