PluginBugs / Issues-CinematicStudio

Repository used to keep track of issues of my plugin CinematicsStudio
1 stars 0 forks source link

If cutscene is set to play on join, the NPC's skin is not set #34

Closed Lotnest closed 1 year ago

Lotnest commented 1 year ago

Terms

Discord tag (optional)

Lotnest#5529

What happened?

If cutscene is set to play on join, the NPC's skin is not set.

Steps to reproduce the issue

  1. Add an NPC to a cutscene
  2. Set the NPC's skin
  3. Set the cutscene to play on join (Everytime or once)
  4. The NPC's skin is not updated

Server version

This server is running Paper version git-Paper-492 (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 497b919)

CinematicsStudio Version

CinematicStudio version 1.4.3-r8

ProtocolLib Version

ProtocolLib version 5.0.0

LoneLibs Version

LoneLibs version 1.0.24

FULL server log

No response

Error (optional)

No response

CinematicsStudio config.yml

No response

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

LoneDev6 commented 1 year ago

Can you try to delay the cutscene play command execution? Probably the client doesn't have the skin downloaded so it won't be shown correctly, or if you're using SkinsRestorer it might be not loaded completely on join. Delay of 1-2 seconds.

Lotnest commented 1 year ago

Adding a second delay to the cutscene fixes it.