-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
Environment:
Spigot 1.12
From my observations, with the Ender Dragon fight, at least, getSource always returns null.
Looking at the code for AreaEffectCloud, I see that getSource returns the projectileSource from Entity. However, EntityAreaEffectCloud use a different field to hold the source: aB
If I use reflection get obtain the value of aB, the correct originating entity is returned.