src/main/java/org/ame/jsforge/event/UniversalEventBus.java
/**
	 * @throws EventNotFoundException If the event wasn't found under that mod and name.
	 */
@throws EventNotFoundException If the event wasn't found under that mod and name.
@throws EventNotFoundException If the event wasn ' t found under that mod and name .
public Object call(JSMod mod, String event, Object... args) throws ScriptException {
		EventHandler[] handlers = eventHandlers.get(event);
		for (EventHandler handler : handlers) {
			if (mod.equals(handler.mod)) {
				return handler.action.call(args);
			}
		}
		throw new EventNotFoundException("The event " + event + " was not found.");
	}
public Object call ( JSMod mod , String event , Object ... args ) throws ScriptException { EventHandler [ ] handlers = eventHandlers . get ( event ) ; for ( EventHandler handler : handlers ) { if ( mod . equals ( handler . mod ) ) { return handler . action . call ( args ) ; } } throw new EventNotFoundException ( "The event " + event + " was not found." ) ; }
@throws EventNotFoundException If the event wasn't found under that mod and name.
@throws EventNotFoundException If the event wasn ' t found under that mod and name .