Skip to content

Bug: Custom model NPCs spawn facing backwards (180° flipped) after server restart #317

Description

@semsddd693-pixel

In which plugin has the error occurred?

Other

What happened?

Bug Description

When creating an NPC using FancyNpcsCustomModels, the NPC functions and faces the correct direction initially. However, after restarting the server, the custom model NPCs spawn facing the complete opposite direction (rotated 180 degrees).

Running /fancynpc reload immediately fixes the issue and snaps the NPCs back to their correct rotation configured in the files.

Steps to Reproduce

  1. Create a custom model NPC and configure its rotation.
  2. Restart the Minecraft server.
  3. Observe the NPC upon joining (it will be facing backwards / 180° flipped).
  4. Run /fancynpc reload.
  5. The NPC snaps back to the correct facing direction.

Expected Behavior

NPCs should retain their saved rotation facing direction immediately after a server restart without requiring a manual /fancynpc reload.

Actual Behavior

NPCs ignore the saved rotation on boot/startup and spawn facing the opposite direction until reloaded.

Environment & Additional Info

In which software has the error occurred?

Paper

Plugin version

1.1.0+10

Server version

26.1.2

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumShould be done for the next regular versionStatus: PendingWaiting for someone to work onType: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions