Welcome back to another update. So I've been extremely frustrated as of late with this display item dupe glitch. At first I thought is was paper only, but it turned out that was not the case. I thought it was plugin conflicts, but it happened to seemingly random servers of all configurations, yet I was never able to replicate it. Well, this might be it. I MIGHT have fixed it, so here is what changed:
- Fixed duplicating items? (refer to below)
- Removed restriction of most commands needing to be performed in-game. If a command doesn’t need any player properties (like a location) it will work from console or command blocks.
- Fixed tutorial books not opening in 1.14.4+
It turns out that the display item duplication glitch can happen in rare instances such as this:
- a shop is located in a chunk whose "chunk location" is the same as the "chunk location" of a loaded chunk in another world.
In English, if you have shops in your spawn and a player goes to the spawn in the nether or end (or any other world), the plugin will spawn display items in every dimension / world as long as the coordinates are within the range of the chunk numerically. I added a check for world as well as location when loading and unloading chunks, so HOPEFULLY this will finally fix this annoying af bug. Enjoy!