Пример #1
0
  @Override
  public void initialize() {
    super.initialize();

    if (this.manager.shouldCreateUserRecords() && this.isVirtual()) {
      this.setParentsName(this.getOwnParentNames(null), null);

      this.save();
    }

    if (this.isDebug()) {
      manager.getLogger().info("User " + this.getName() + " initialized");
    }
  }
Пример #2
0
  @Override
  public void initialize() {
    super.initialize();

    if (this.manager.getBackend().isCreateUserRecords() && this.isVirtual()) {
      this.setGroups(this.getGroups(null), null);

      this.save();
    }

    if (this.isDebug()) {
      Logger.getLogger("Minecraft").info("[PermissionsEx] User " + this.getName() + " initialized");
    }
  }