Bukkit/CraftBukkit — pull request #608 by wilsonsd (2011-12-26 06:17:54+00:00)
Title: Implement PortalCreateEvent reason codes.

This commit modifies the construction of PortalCreateEvents to specify
reason for the event. Reasons are either:
1. FIRE: the portal is being created because a player set fire to an
obsidian frame.
2. FAR_END: the portal is being created because an existing portal
needs somewhere to connect to.

This pull request is a companion to
https://github.com/Bukkit/Bukkit/pull/463