From c3ddfc3b8ee0d77a9ff324dd3c85f97a0827df95 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Tue, 25 Jun 2024 23:07:11 +0200 Subject: [PATCH] add clearing to playerlog --- Client/src/main/java/de/com/baseband/client/Setup.java | 1 + .../baseband/client/feature/modules/render/PlayerLog.java | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Client/src/main/java/de/com/baseband/client/Setup.java b/Client/src/main/java/de/com/baseband/client/Setup.java index 9180814..9a190eb 100644 --- a/Client/src/main/java/de/com/baseband/client/Setup.java +++ b/Client/src/main/java/de/com/baseband/client/Setup.java @@ -75,6 +75,7 @@ public class Setup { new NoSlowDown(), new Notifier(), new Ping(), + new PlayerLog(), new PlayerSelector(), new RenderFun(), new Say(), diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/render/PlayerLog.java b/Client/src/main/java/de/com/baseband/client/feature/modules/render/PlayerLog.java index 140a96f..bf33250 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/render/PlayerLog.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/render/PlayerLog.java @@ -7,10 +7,7 @@ import de.com.baseband.client.feature.Features; import de.com.baseband.client.feature.background.PlayerListHandler; import de.com.baseband.client.feature.category.Experimental; import de.com.baseband.client.feature.modules.client.Client; -import de.com.baseband.client.registry.annotation.Config; -import de.com.baseband.client.registry.annotation.Gate; -import de.com.baseband.client.registry.annotation.Range; -import de.com.baseband.client.registry.annotation.Requires; +import de.com.baseband.client.registry.annotation.*; import de.com.baseband.client.util.adapt.Marker; import de.com.baseband.client.util.render.Pixels; import de.com.baseband.client.util.render.SimpleRender; @@ -70,6 +67,7 @@ public class PlayerLog extends Feature { } } + @Trigger("Clear") @Override public void onDisable() { originalPlayers.clear();