mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
Screen API: Fix MinecraftClientMixin overwriting the vanilla logger (#2726)
This commit is contained in:
parent
33cd7c5a40
commit
1d4d0b5795
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