Skip to content

Citizens fails to load when using NPC with offset vector applied #3302

Description

@Andre601

/version output

[21:05:05 INFO]: Checking version, please wait...
[21:05:05 INFO]: This server is running Paper version 1.21.11-129-ver/1.21.11@3837e9a (2026-04-08T23:58:35Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.8-60-29c8822 (MC: 1.21.8)

/version Citizens output

[21:05:16 INFO]: Citizens version 2.0.42-SNAPSHOT (build 4145)
Website: https://www.citizensnpcs.co
Author: fullwall

Log file

https://paste.denizenscript.com/View/139899

config.yml

https://paste.denizenscript.com/View/139900

saves.yml

https://paste.denizenscript.com/View/139901

Profiler report

No response

Description

When using an NPC that has an offset applied (i.e. a block display NPC) does Citizens fail to load, printing an error with what seems to be a YAML parsing tag issue:

[20:58:20 WARN]: Global tag is not allowed: tag:yaml.org,2002:org.joml.Vector3f
[20:58:20 WARN]:  in 'reader', line 452, column 17:
[20:58:20 WARN]:             offset: !!org.joml.Vector3f
[20:58:20 WARN]:                     ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions