Block translate tag

This commit is contained in:
Telesphoreo 2023-03-08 00:45:41 -06:00
parent 2c8c6353c1
commit 344d890877

View File

@ -39,7 +39,7 @@ public class SafeMiniMessage
public static class SafeMiniMessageTagResolver implements TagResolver
{
private static final TagResolver STANDARD_RESOLVER = TagResolver.standard();
private static final List<String> IGNORED_TAGS = ImmutableList.of("obfuscated", "obf", "br", "newline", "lang", "key");
private static final List<String> IGNORED_TAGS = ImmutableList.of("obfuscated", "obf", "br", "newline", "lang", "key", "translate");
@Override
public @Nullable Tag resolve(@NotNull String name, @NotNull ArgumentQueue arguments, @NotNull Context ctx) throws ParsingException