Mojira Archive
MC-50319

Player owned projectiles lose their player ownership when exiting portals

When players send projects through portals that are tagged as coming from a player, they lose that player tag once they leave the other side of the portal.

This affects Nether portals and End portals.
End gateways work as we would expect them to. (fishing rod bobber still doesn't go through gateways)

Entities that have player tags (remind me if I have over looked any)
Arrow, potion, snowball, egg, enderpearl, fishing rod bobber, TNT

What should happen is that when the player tag entity leave a portal it should keep the tag from which player it came from so that if it kills a player or mob on the other side of the portal it is registered as a player kill.

This causes arrows shot by a player through a portal to kill a player on the other side despite PVP being disabled on the server config.

Original Post

What I expected to happen was the arrows would just look cool

What actually happened was the arrows shot through the portal set the other player on fire

Steps to Reproduce:
1. Shoot a arrow through a portal whilst pvp is off, (which is possible to do in a vanilla servers config) at another player who is on the other side of the portal