OvercastNetwork / SportBukkit

CraftBukkit and Bukkit modifications that improve stability and add new features
100 stars 85 forks source link

General interface for providing the entity that caused an event #169

Closed jedediah closed 9 years ago

jedediah commented 9 years ago

Adds two new interfaces, EntityAction and PlayerAction, that some events implement to provide the entity/player that caused the event. See the EntityAction javadocs for more explanation of this.

The patch is big, but nearly all the changes are trivial, so I don't think it will be a problem to maintain.

jedediah commented 9 years ago

merged