SpongePowered / Sponge

The SpongeAPI implementation targeting vanilla Minecraft and 3rd party platforms.
MIT License
385 stars 211 forks source link

Entity spawning events do not provide correct SpawnType #3045

Open codestripper opened 4 years ago

codestripper commented 4 years ago

I am currently running

Issue Description Issue: Incorrect SpawnType being provided from SpawnEntityEvent and ProjectileLaunchEvent

Steps to reproduce:

  1. Throw a snowball
  2. Place an armor stand
  3. Notice that the event types are both "PLACEMENT"

Expected: Snowball, Ender Pearls, Eyes of Ender, etc. should all be SpawnType PROJECTILE Item Frames, Armor Stands should be of SpawnType PLACEMENT

Code to replicate https://gist.github.com/codestripper/9498b54dd162fe98ae4f97ae6b2b7ae7

ImMorpheus commented 4 years ago

Please follow the issue template, it's actually rather important if you want to get dev attention to fix your issue.

Edit this issue with the required details / template, and I'll reopen and hide this comment.

codestripper commented 4 years ago

@ImMorpheus I have fixed the issue description. Thank you.

ImMorpheus commented 4 years ago

Sorry, I missed the ping