[SPIGOT-2633] Snowball "Reflects" Off other entities/Players and hit original thrower (1.9+) Created: 27/Aug/16  Updated: 08/Jan/18  Resolved: 27/Aug/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Ben C Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: 1.10, 1.9, bug, spigot
Environment:

Spigot version 1.9+


Attachments: File Spigot_Bug.mp4    

 Description   

When throwing snowballs towards another player from close range, the snowball "bounces" off of the target player and back onto the original player, instead of hitting the target player. If this is intentional, the same applies when the shooter is close to the player but facing a different direction. The snowball still does damage to the shooter, despite nothing being in visible path of the shooter.



 Comments   
Comment by md_5 [ 08/Jan/18 ]

The fix for this is in Vanilla & Vanilla behaviour and for better or worse we do not change Vanilla behaviour where possible because it will just make someone else file a bug report to the reverse effect

Comment by Guru_Fraser [ 08/Jan/18 ]

The fix for this causes unexpected functionality with Potions, Splash potions are intended to hit the player, especially in a PvP context. When running a player would commonly splash a potion on their own back to get a full heal value from it. As a result of this change made, that is now actually impossible. 

 

Edit: The way 1.7 did this, which for some reason was removed in 1.8+ was to check the variable 'az' is >= 5. In 1.12.2, this variable is 'at'. 

Comment by md_5 [ 27/Aug/16 ]

https://bugs.mojang.com/browse/MC-88491

Generated at Fri Apr 11 15:19:21 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.