From 46b615624158c3c801dbdd1cbb7f0f803adb338d Mon Sep 17 00:00:00 2001 From: Sekwah Date: Thu, 12 Dec 2024 12:04:36 +0000 Subject: [PATCH] fix: remove spammy debug logs from tab auto complete (#476) --- .../advancedportals/core/tags/TriggerBlockTag.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/core/src/main/java/com/sekwah/advancedportals/core/tags/TriggerBlockTag.java b/core/src/main/java/com/sekwah/advancedportals/core/tags/TriggerBlockTag.java index 4cb526f4..a560ece1 100644 --- a/core/src/main/java/com/sekwah/advancedportals/core/tags/TriggerBlockTag.java +++ b/core/src/main/java/com/sekwah/advancedportals/core/tags/TriggerBlockTag.java @@ -11,7 +11,7 @@ public class TriggerBlockTag implements Tag.AutoComplete, Tag.Split { @Inject private ServerContainer serverContainer; - public static String TAG_NAME = "triggerblock"; + public static final String TAG_NAME = "triggerblock"; private final TagType[] tagTypes = new TagType[] {TagType.PORTAL}; @@ -37,9 +37,6 @@ public String description() { @Override public List autoComplete(String argData) { - System.out.println("Auto complete"); - System.out.println(argData); - var triggerBlocks = serverContainer.getCommonTriggerBlocks() .stream() .filter(block -> block.contains(argData)) @@ -51,10 +48,4 @@ public List autoComplete(String argData) { return triggerBlocks; } - - @Nullable - @Override - public String splitString() { - return ","; - } }