-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a method by which to create raw replacements. #657
Conversation
Random thoughts: if we hold a way of identifying a raw replacement then we can do the escaping as and when the placeholders are resolved, thus solving the problem of the escaping not happening on the currently active MM instance. |
hm, why not return a |
Yup, this is the solution we should be using for this! With a Javadoc that is something like |
654c47f
to
2883bd3
Compare
2883bd3
to
a3282a7
Compare
Moreso meant to start conversation, because I bet there's a better stage at which to escape, using the specific MiniMessage object and not just the default one.
Presently, only a minimessage-parsed string replacement is offered. Manually doing escapeTokens all the time gets tiring, so I hope to introduce a built-into-adventure method by which to do this. Otherwise, I'll just be creating my own simple helper method to automate.
To quote @kezz