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

Provider change locks /npc path from closing #2398

Closed Jimjamss closed 3 years ago

Jimjamss commented 3 years ago

When using /npc path editor it is possible to change the provider causing the /npc path command to be locked from closing giving message "You're already in an editor!" as it is reading the old provider editor being opened.

The only fix besides reloading the plugin was changing the provider back to the original provider from when the command was issued.

The output of command /version on my server is: This server is running Craftbukkit version git-spigot-a19903d-009f0ba (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT) Checking version, please wait... you are 8 version(s) behind The output of command /version citizens on my server is: 2.0.27-SNAPSHOT (build 2190)

mcmonkey4eva commented 3 years ago

I've tested and confirmed this does happen as reported on current builds (2210 in my testing). Replication steps:

mcmonkey4eva commented 3 years ago

This was fixed by https://github.com/CitizensDev/Citizens2/commit/1ae074278e4899cd3e3dd8af3f5c188ad982760f for build 2212+ on https://ci.citizensnpcs.co/job/Citizens2/