mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Block translate tag
This commit is contained in:
parent
2c8c6353c1
commit
344d890877
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user