Interface UpgradeAction


public interface UpgradeAction
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onBuy(ITeam bwt)
    Deprecated.
    void
    onBuy(@Nullable org.bukkit.entity.Player player, ITeam bwt)
    Apply action to team.
  • Method Details

    • onBuy

      @Deprecated default void onBuy(ITeam bwt)
      Deprecated.
      Apply action to team.
    • onBuy

      void onBuy(@Nullable @Nullable org.bukkit.entity.Player player, ITeam bwt)
      Apply action to team.
      Parameters:
      player - buyer.
      bwt - team receiver.