Unify block entity pickup conversion
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
This commit is contained in:
committed by
Alexander Harkness
parent
1a60164848
commit
c53a0ba5f6
@@ -18,7 +18,7 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, cBlockEntity * a_BlockEntity, const cEntity * a_Digger, const cItem * a_Tool) const override
|
||||
virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger, const cItem * a_Tool) const override
|
||||
{
|
||||
// Silk touch gives cobweb, anything else gives just string:
|
||||
if (ToolHasSilkTouch(a_Tool))
|
||||
|
||||
Reference in New Issue
Block a user