From 8180e202814794f346d1437d328b86e9042dbbaa Mon Sep 17 00:00:00 2001 From: downthecrop Date: Sat, 26 Oct 2024 22:33:54 -0700 Subject: [PATCH] Removing debug from client + add print for unparented altcanvas --- client/src/main/java/rt4/GameShell.java | 1 - plugin-playground/src/main/kotlin/KondoKit/plugin.kt | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/rt4/GameShell.java b/client/src/main/java/rt4/GameShell.java index 250f826..68e6c32 100644 --- a/client/src/main/java/rt4/GameShell.java +++ b/client/src/main/java/rt4/GameShell.java @@ -182,7 +182,6 @@ public abstract class GameShell extends Applet implements Runnable, FocusListene @OriginalMember(owner = "client!qh", name = "a", descriptor = "(Z)V") public static void method3662() { - System.out.println("Moving..."); @Pc(8) Container local8; if (fullScreenFrame != null) { local8 = fullScreenFrame; diff --git a/plugin-playground/src/main/kotlin/KondoKit/plugin.kt b/plugin-playground/src/main/kotlin/KondoKit/plugin.kt index 9fe4ef7..cd2b50a 100644 --- a/plugin-playground/src/main/kotlin/KondoKit/plugin.kt +++ b/plugin-playground/src/main/kotlin/KondoKit/plugin.kt @@ -328,6 +328,9 @@ class plugin : Plugin() { } fun updateGameImage() { + if(this.parent == null) { + println("Unparented.. skipping update.") + } validateGameImage() if (IsHD()) { renderGlRaster()