Properly implemented enderchests

They do everything you expect them to.
Why construct an auto_ptr then immediately release it?