Skip to content

byPlayer in Entity.GetDrops(IWorldAccessor world, BlockPos pos, IPlayer byPlayer) is always null #57

@Xandu93

Description

@Xandu93

The "Entity.Die" method never passes the player to the "Entity.GetDrops" method. The value is always null here. I may overlook something but for that reason some player stats shouldn't be applied at all if the entity drops the loot directly. Also the player is always null for EntityBehaviors that implement the GetDrops method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions