diff options
| author | Sw3ys | 2026-08-22 15:50:45 +0100 |
|---|---|---|
| committer | Sw3ys | 2026-08-22 18:08:54 +0100 |
| commit | 1b40c469fd7f32ea76bb150383708ebfc045c931 (patch) | |
| tree | 15420ddda1f36f0ba77a2c193803545c2b1879f4 /NeoForge/gradle/wrapper | |
| parent | 503948e1b2b3087306a1faf650daa0d52b1c2398 (diff) | |
Wrap user properties on read instead of transforming authlib
Account switchers fetch UserProperties themselves and assign the result
straight to Minecraft#userPropertiesFuture, so wrapping the service at
createUserApiService does not reliably survive a switch. Hooking
Minecraft#userProperties instead covers every read, no matter which
service or properties instance is currently in place.
This also works on all three loaders, unlike the YggdrasilUserApiService
mixin, which can only be applied on Fabric since Forge and NeoForge load
authlib outside of the transformable class path. That mixin is now
redundant and has been removed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'NeoForge/gradle/wrapper')
0 files changed, 0 insertions, 0 deletions
