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
@@ -128,6 +128,15 @@ OwnedBlockEntity cBlockEntity::Clone(Vector3i a_Pos)
|
||||
|
||||
|
||||
|
||||
cItems cBlockEntity::ConvertToPickups() const
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cBlockEntity::CopyFrom(const cBlockEntity & a_Src)
|
||||
{
|
||||
// Nothing to copy, but check that we're copying the right entity:
|
||||
|
||||
Reference in New Issue
Block a user