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.
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.