Skip to content

SkullMeta.setOwner(String name) throws a lot of errors in offline-mode #3611

@AsVaidas

Description

@AsVaidas

What behaviour is expected:

As the old days, setting a SkullMeta with a not premium player doesn't throw any error about not able to communicate to the mojang.
It should just set a Steave head as default without throwing any error or warning.

What behaviour is observed:

It throws a lot of errors, doesn't show heads at all and with each update it's worse
image
(Inventory should be full with heads of players)

https://pastebin.com/z5mDwXBm

Steps/models to reproduce:

Just set SkullMeta.setOwner() with any random, not premium player, name.

Plugin list:

[21:07:56 INFO]: Plugins (37): AdminSystem, AsVaidasAPI, AutoRestart, BungeeGuard, ChestSort, Events, ExploitFixer, FactionWars, GroupManager, GSit, HamsterAPI*, IllegalStack, mcMMO, MyCommand, Packages, PlaceholderAPI, PlugMan*, ProtocolLib, RanksTime, TAB, TPSmeter, TryMe, WorldFiller, ZC-lock, ZCBans, ZCClan, ZCCrates, ZCDeop, ZCIdea, ZCMainCore, ZCMarket, ZCMessages, ZCMobOptimizer, ZCPlayerLimit, ZCTops, ZCTrade, ZCUpdates

Paper build number:

[21:08:09 INFO]: This server is running Paper version git-Paper-371 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
[21:08:09 INFO]: Previous version: git-Paper-365 (MC: 1.15.2)
[21:08:09 INFO]: You are running the latest version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions