Skip to content

Fix fake skins for nicknamed players on SportPaper#108

Merged
applenick merged 1 commit intoPGMDev:devfrom
calcastor:legacy-nick-skins
Apr 15, 2026
Merged

Fix fake skins for nicknamed players on SportPaper#108
applenick merged 1 commit intoPGMDev:devfrom
calcastor:legacy-nick-skins

Conversation

@calcastor
Copy link
Copy Markdown
Contributor

@calcastor calcastor commented Apr 15, 2026

We weren't actually passing a fake skin to SportPaper's setFakeNameAndSkin; this restores previous behaviour by either passing null when skin is null or by creating an org.bukkit.Skin from what is provided.

Additionally, instead of passing Skin.EMPTY from SkinCache when the map is empty, just "inline" Sunny.

Signed-off-by: BT (calcastor/mame) <43831917+calcastor@users.noreply.github.com>
@applenick applenick merged commit 42b91d5 into PGMDev:dev Apr 15, 2026
2 checks passed
@calcastor calcastor deleted the legacy-nick-skins branch April 15, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants