CitizensDev / Citizens2

Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
https://citizensnpcs.co
Open Software License 3.0
589 stars 313 forks source link

New pathfinder spams errors when NPC tries to follow path #2724

Closed KaruzoHikari closed 2 years ago

KaruzoHikari commented 2 years ago

/version output

[21:24:09 INFO]: Checking version, please wait...                                                                       [21:24:10 INFO]: This server is running Paper version git-Paper-137 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: c3d812d)

/version Citizens output

[21:24:23 INFO]: Citizens version 2.0.29-SNAPSHOT (build 2446)                                                          [21:24:23 INFO]: Website: http://www.citizensnpcs.co                                                                    [21:24:23 INFO]: Author: fullwall

Log file

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

config.yml

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

saves.yml

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

Profiler report

No response

Description

When the "use-new-finder" setting is set to true in the config.yml, and an NPC tries to follow a path (just do /npc sel, /npc path and right click a few points), it starts spamming errors heavily. If you shutdown the server and change "use-new-finder" to false, the path works fine.

mcmonkey4eva commented 2 years ago

This is likely a new issue from recent commits, so as a temporary measure just backdate by a few builds https://ci.citizensnpcs.co/job/Citizens2/2442/ until it's resolved

mcmonkey4eva commented 2 years ago

Probably fixed by https://github.com/CitizensDev/CitizensAPI/commit/dd5a97704805bb741b0f540eab07c7b9a679e29a for Citizens build 2447+ from https://ci.citizensnpcs.co/job/Citizens2/