All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.cwcode.commands.api.CommandsAPI Maven / Gradle / Ivy

package ru.cwcode.commands.api;

import ru.cwcode.cwutils.l10n.L10n;

public class CommandsAPI {
  public static L10n l10n;
  static Platform registeredPlatform;
  
  public static Platform getPlatform() {
    return registeredPlatform;
  }
  
  public static void setL10n(L10n l10n) {
    CommandsAPI.l10n = l10n;
  }
  
  public static void setPlatform(Platform platform) {
    if (registeredPlatform == null) registeredPlatform = platform;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy