-
Notifications
You must be signed in to change notification settings - Fork 22
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
[ExternalPluginNotifier] Replacements looks to be required when it shouldn't be and getting client thread error #675
Comments
#676 will fix the replacements issue For the client thread issue, we've previously assumed If that's the only place where we do client-thread-only access to data, we might just want to cache the account type ourselves & allow for any thread to access that data. Any thoughts on preferred approach for that @iProdigy ? |
there's more data being queried within |
Just for transparency, my two tests were from the swing thread, and from my own thread (triggered by a game message event) which I guess makes sense. All of my notifications get put onto a thread of their own so they don't cause any game lag (sounds and tts were doing that). |
That's perfectly fine, we'll invoke the relevant part in the client thread now https://github.com/pajlads/DinkPlugin/pull/677/files |
Checklist
Describe your issue
When testing v1.11.2 I'm getting an exception that replacements can't be null even though it's not supposed to be required.

Then after adding an empty map for
replacements
just for testing, I get this error. Looks like it's trying to get a varbit from a non-client thread?Screenshots
No response
Runelite Logs
client.log
Runelite Version
1.11.3
The text was updated successfully, but these errors were encountered: