mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Block more tags
This commit is contained in:
parent
9dac0e799e
commit
d896179f47
@ -39,7 +39,7 @@ public class SafeMiniMessage
|
|||||||
public static class SafeMiniMessageTagResolver implements TagResolver
|
public static class SafeMiniMessageTagResolver implements TagResolver
|
||||||
{
|
{
|
||||||
private static final TagResolver STANDARD_RESOLVER = TagResolver.standard();
|
private static final TagResolver STANDARD_RESOLVER = TagResolver.standard();
|
||||||
private static final List<String> IGNORED_TAGS = ImmutableList.of("obfuscated", "obf", "br", "newline");
|
private static final List<String> IGNORED_TAGS = ImmutableList.of("obfuscated", "obf", "br", "newline", "lang", "key");
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @Nullable Tag resolve(@NotNull String name, @NotNull ArgumentQueue arguments, @NotNull Context ctx) throws ParsingException
|
public @Nullable Tag resolve(@NotNull String name, @NotNull ArgumentQueue arguments, @NotNull Context ctx) throws ParsingException
|
||||||
|
Loading…
Reference in New Issue
Block a user