SportBukkit
SportBukkit copied to clipboard
Identifiables
- Extract common interface
Identifiable
for things identified by aUUID
, i.e.Entity
s andOfflinePlayer
s. - Add
ConnectedPlayer
interface betweenOfflinePlayer
andPlayer
in the inheritance hiearchy, which adds a field for IP address. Use this to carry info in pre-login events. - Add
Event#getInvolved()
that returns a list of allIdentifiable
s involved in the event.
This seems like a better approach than EntityAction
and PlayerAction
, and we may remove that patch if this one serves our needs.