SpoutDev/Spout — Issue #1207: OnPopupClose Listener
Author: AJCStriker
Created: 2011-12-11 12:17:22+00:00
State: open

I think this should be enclosed within the GenericPopup class and should be an override. This would be very useful for preventing people exiting a popup with the esc key, as well as performing an action.

event should contain:

event.getPlayer()
event.getPopup()
event.isCancelled()
event.setCancelled()