Yeah, citizens API looks like the way to go
So i was looking for a way to create NPC players, but most of the threads i could find where from 2012 or 2016, and most of the classes dont seem...
Most likely, as instead of air, it's null.
But why on disconnect?
Side note: Aren't you in Bytes4Breakfast?
Your inventory close event is throwing NPE, line 62.
Appears to be caused by a plugin called massive lag / massive craft trying...
Player#getLocation is enough
They can do stuff that would be a lot trickier in code. (Remember my commands and Booleans thread?)
Then decompile it, inject your class, and recompile it.
Eclipse has problems with packages inside of packages.
Separate names with a comma.