"Profile name must not be null" when loading user #4119
Labels
status: needs triage
This label is automatically applied to new issues and pull requests to indicate they require triage
type: bug
Something isn't working
Affected Product(s)
SpongeVanilla
Version
1.20.6-11.0.1-RC1778
Operating System
Linux
Java Version
21
Plugins/Mods
Describe the bug
Calling
Sponge.server().userManager().load(user.getUniqueId())
with an offline player can result in:Which originates from:
Sponge/src/main/java/org/spongepowered/common/user/SpongeUserManager.java
Line 134 in a091b4f
The
name
field of Mojang's GameProfile is marked as@NotNull
but Sponge is passing a null parameter.Link to logs
No response
The text was updated successfully, but these errors were encountered: