public static void registerExtension(JillExtension extension) {
    if (extension != null) {
      GlobalState.eventHandlers.add(extension);
      Main.logger.info("Registered Jill extension: " + extension);
    } else {
      Main.logger.warn("Cannot register null extension; will ignore.");
    }
  }
public static void registerExtension(JillExtension extension) {
    if (extension != null) {
      GlobalState.eventHandlers.add(extension);
      Main.logger.info("Registered Jill extension: " + extension);
    } else {
      Main.logger.warn("Cannot register null extension; will ignore.");
    }
  }
public static void registerExtension ( JillExtension extension ) { if ( extension != null ) { GlobalState . eventHandlers . add ( extension ) ; Main . logger . info ( "Registered Jill extension: " + extension ) ; } else { Main . logger . warn ( "Cannot register null extension; will ignore." ) ; } }
Registers a new Jill extension.

@param extension the extension to register
Registers a new Jill extension .