When using a BlockPopulator that copies chunks from another world, my plugin causes a crash due to a ticking entity. I am not sure why this ticking entity issue is being caused by this functionality, but it persists nonetheless. A paste of the relevant code in the plugin and a crash report can be found below, and the plugin jar will be attached as well. The for loop on lines 43-46 of the code paste were added before this issue began.
When the server loads, everything is fine, but when I join the world whose BlockPopulators I am adding to and I start generating chunks by flying around, this issue occurs, seemingly from one of the newly generated chunks containing the ticking entity.
Crash report: https://paste.md-5.net/ujalefobex.bash
Relevant code: https://paste.md-5.net/ohagiyumib.cs