Skip to content

Portal Item Dupe Bug #56

@TheCyberBrick

Description

@TheCyberBrick

Hi!
When a portal teleports a Minecart with Chest (or any other entity that drops items on death, e.g. Tarminions from the Betweenlands) to another dimension it causes the items to drop on the entrance portal but the entity will still exist on the other portal, including the original items, so all the items are doubled.
This is because in https://github.com/McJtyMods/McJtyLib/blob/1.12/src/main/java/mcjty/lib/varia/TeleportationTools.java#L94 it does not call Entity#setDropItemsWhenDead(false) before removing the entity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions