Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portal Item Dupe Bug #56

Open
TheCyberBrick opened this issue Aug 2, 2018 · 0 comments
Open

Portal Item Dupe Bug #56

TheCyberBrick opened this issue Aug 2, 2018 · 0 comments

Comments

@TheCyberBrick
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant