Removed System.out.println.

This commit is contained in:
EvilCodeZ
2022-11-18 19:39:39 +01:00
committed by GitHub
parent 4fa43ce201
commit c20d40f8dd

View File

@@ -43,7 +43,6 @@ public abstract class MixinScreen implements IGuiScreen {
//TODO: switch to enum extention with mixin 9.0 or whenever Mumfrey gets around to it
@Inject(at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;error(Ljava/lang/String;Ljava/lang/Object;)V", remap = false, ordinal = 1), method = "handleComponentClicked", cancellable = true)
public void handleCustomClickEvent(Style style, CallbackInfoReturnable<Boolean> cir) {
System.out.println("handleCustomClickEvent");
ClickEvent clickEvent = style.getClickEvent();
if (clickEvent == null) {
return;