DisguiseAPI icon indicating copy to clipboard operation
DisguiseAPI copied to clipboard

Bug with skin display

Open matiw219 opened this issue 1 year ago • 0 comments

Describe the bug After changing the player's skin, they lose their 3D accessories.

To Reproduce Change the player's skin.

    public boolean applySkin(@NotNull Player player) {
        if (!canUse()) {
            return false;
        }

        final DisguiseProvider packetProvider = DisguiseAPI.getDefaultProvider();
        packetProvider.updatePlayer(player, this.skin);

        return true;
    }

Expected behavior I would like these accessories, such as hats, etc., to be preserved. Maybe I'm missing something or doing something wrong.

Screenshots

  • before change skin image
  • after change skin image

Server version 1.18.2

matiw219 avatar Sep 28 '24 16:09 matiw219