1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#pragma once class cBlockAirHandler final : public cBlockHandler { public: using cBlockHandler::cBlockHandler; private: virtual cItems ConvertToPickups(const NIBBLETYPE a_BlockMeta, const cItem * const a_Tool) const override { // Don't drop anything: return {}; } };