* Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld
-------------------------------------------------------------------------------- Welcome to your new Cuberite server, compatible with Minecraft 1.8 - 1.12! -------------------------------------------------------------------------------- - To get started with your server, read the user's manual at https://book.cuberite.org/ - Subscribe to the Newsletter for update news and important information at https://cuberite.org/news/#subscribe - For information about adding plugins to your server, visit https://cuberite.org/plugins/ - For additional support, visit https://cuberite.org/discuss/ --------------------------------------------------------------------------------