092bf87012
A projectile a guest shot was recorded as the local player's (Who::Player), which on a server means the host, or nobody on a dedicated server. So a guest's ender pearl teleported the host on a LAN world and did nothing on a dedicated server, what it hit answered to the host, and clients were told the projectile had no owner. Projectiles now remember the guest who shot them (Projectile.guest, set when the guest's turn ends). Clients get the guest as the owner (Projectile.getAddEntityPacket), and the hit runs as that guest: their pearl teleports and hurts them, and the mob hit answers to them. ThrownEnderpearl's endermite also needs monsters to spawn, and comes where the player was. The dedicated-server harness checks that the snowballs' owner is the player and throws an ender pearl at the player's feet: vanilla teleports it and takes 5 health, main did neither. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>