Use the processedDisconnect flag for disconnects. This means that we will only say the player has disconnected once the server tick look has processed them as such. Fixes some issues with players quitting during join.
Revert processed disconnect change - the flag is not set as reliably as it was in previous server versions.
Remove references to chunklist

Commit c576054539790bdeb35285f62863d74b48c0782d removed the chunklist collection stored in ChunkProviderServer, however it has been partially restored in some places by 7e1ac0a77129b169704c1e222ff2deb3ab6cd2d2.  As not all references to this were restored, this has caused the chunklist and chunks collections to become out of sync, resulting in a memory leak.
Add VanillaCommandWrapper which allows use of vanilla commands instead of Bukkit's versions
Fire PreLogin Events in Offline Mode
Log Cause of Unexpected Exceptions
Invert command complete check
Upstream merge
Fall back to our own URL clicking method as it works with more cases.
Allow the console to use vanilla commands
Stage BiomeDecorator so we can get line numbers to match for stack traces.
Re-add the particle API
Upstream merge, nothing major.
Fix accidentally reverted mc-dev imports.
Force Load Chunks for Biome Decoration. May solve some random.nextInt() crashes people have been seeing.
Remove getCubes patch as under some circumstances it can loop around itself forever. For anyone wishing to reimplement this patch, the rationale behind it is quite simple, get all cubes within each chunk at the same time.
Save ticks lived to nbttag
Revert "Remove getCubes patch as under some circumstances it can loop around itself forever. For anyone wishing to reimplement this patch, the rationale behind it is quite simple, get all cubes within each chunk at the same time."

This reverts commit 06233ce472ffb2474ee0935cbbf6609ab5ad706f.
Fix patches some more.
Redo previous getCubes removal.