From 3e583f84f856fab20ef5460f3c2d80da97977bf4 Mon Sep 17 00:00:00 2001 From: D3v1s0m <49519439+D3v1s0m@users.noreply.github.com> Date: Wed, 28 Jun 2023 17:11:08 +0530 Subject: [PATCH] Fix incorrect suggestion --- .../lol/pyr/znpcsplus/commands/property/PropertySetCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/lol/pyr/znpcsplus/commands/property/PropertySetCommand.java b/plugin/src/main/java/lol/pyr/znpcsplus/commands/property/PropertySetCommand.java index 43af13c..3d0545c 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/commands/property/PropertySetCommand.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/commands/property/PropertySetCommand.java @@ -79,7 +79,7 @@ public class PropertySetCommand implements CommandHandler { if (type == Boolean.class) return context.suggestLiteral("true", "false"); if (type == NamedTextColor.class) return context.suggestCollection(NamedTextColor.NAMES.keys()); if (type == NpcPose.class) return context.suggestEnum(NpcPose.values()); - if (type == Color.class) return context.suggestLiteral("0x0F00FF", "#FFFFFF", "16711935"); + if (type == Color.class) return context.suggestLiteral("0x0F00FF", "#FFFFFF"); } } return Collections.emptyList();