Exemple #1
0
 /**
  * Constructs a new module. This module should never automatically register to the given {@link
  * ModuleContainer} as that is extremely unproductive and may cause compatibility issues.
  *
  * @param container module container to own this module.
  */
 public CommonModule(@Nonnull ModuleContainer container) {
   this.container = Preconditions.checkNotNull(container, "container cannot be null.");
   this.plugin = container.getPlugin();
 }