SportPaper
SportPaper copied to clipboard
feat: emit PlayerSpawnEntityEvent for TNT minecarts
This patch allows for TNT minecarts to be tracked by API consumers using PlayerSpawnEntityEvent
, as they can be used for offensive purposes and due to their non-living nature are not tracked via ItemMonsterEgg
.
NB: this may need a bit more work (I just realized that setting the position isn't done for non-living entities in ItemMonsterEgg
)