Added "removeEntitySafely" which safely removes an entity one tick from when the method was called